From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13884 invoked by alias); 15 Aug 2003 12:57:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13877 invoked from network); 15 Aug 2003 12:57:26 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Aug 2003 12:57:26 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7FCvQt01066 for ; Fri, 15 Aug 2003 08:57:26 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h7FCvQs26306 for ; Fri, 15 Aug 2003 08:57:26 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h7FCvQED024677 for ; Fri, 15 Aug 2003 08:57:26 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 1C8592CA3D; Fri, 15 Aug 2003 09:05:15 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16188.55947.600894.680479@localhost.redhat.com> Date: Fri, 15 Aug 2003 12:57:00 -0000 To: Bob Rossi Cc: Brijesh Shukla , gdb@sources.redhat.com Subject: Re: force fully core dump In-Reply-To: <20030815121504.GA1420@white> References: <3F3C8C6E.2070101@access.co.jp> <20030815121504.GA1420@white> X-SW-Source: 2003-08/txt/msg00158.txt.bz2 Bob Rossi writes: > Hi, > > Well, if you are on a system that supports the SIGABRT signal, then > there is at least 1 alternative. Send the process the SIGABRT like, > kill -SIGABRT pid. That should make the process core dump. > > Bob Rossi > > On Fri, Aug 15, 2003 at 04:31:58PM +0900, Brijesh Shukla wrote: > > Hello GDB list, > > I am asking a poor question.. > > How can i generate a forcefully core dump from a running process.. > > if there is any way please let me know.. > > thanks & regards > > brijesh shukla gcore is the command to use from within gdb. (gdb) help gcore Save a core file with the current state of the debugged process. Argument is optional filename. Default filename is 'core.'. elena