From owner-freebsd-questions Thu Dec 5 03:49:14 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA03214 for questions-outgoing; Thu, 5 Dec 1996 03:49:14 -0800 (PST) Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id DAA03209 for ; Thu, 5 Dec 1996 03:49:09 -0800 (PST) From: garyj@frt.dec.com Received: from cssmuc.frt.dec.com by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV) id GAA00894; Thu, 5 Dec 1996 06:44:46 -0500 (EST) Received: from localhost by cssmuc.frt.dec.com; (5.65v3.2/1.1.8.2/14Nov95-0232PM) id AA05379; Thu, 5 Dec 1996 12:44:27 +0100 Message-Id: <9612051144.AA05379@cssmuc.frt.dec.com> X-Mailer: exmh version 1.6.4 10/10/95 To: Archie Cobbs Cc: questions@freebsd.org In-Reply-To: Message from Archie Cobbs of Wed, 04 Dec 96 10:36:01 PST. Reply-To: gjennejohn@frt.dec.com Subject: Re: generate core dump with gdb? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 96 12:44:27 +0100 X-Mts: smtp Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk archie@whistle.com writes: > > Is there any way to tell gdb to generate a core dump of the > currently running process? For example, after starting the > process from within gdb or attaching to an already running > process. > > I tried "signal 6" (SIGABRT) but that didn't seem to work. > was this with gdb-4.16 or gdb-4.13 ? I just tried it with 4.13 (signal 6) and a core file was produced. I don't have a copy of 4.16 handy to try it out. --- Gary Jennejohn (work) gjennejohn@frt.dec.com (home) Gary.Jennejohn@munich.netsurf.de (play) gj@freebsd.org