From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4617 invoked by alias); 1 Nov 2004 14:07:46 -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 4516 invoked from network); 1 Nov 2004 14:07:44 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 1 Nov 2004 14:07:44 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1COcqT-0005uk-TA; Mon, 01 Nov 2004 09:07:42 -0500 Date: Mon, 01 Nov 2004 14:07:00 -0000 From: Daniel Jacobowitz To: Marco Molteni Cc: Devrim Erdem , gdb@sources.redhat.com Subject: Re: Attaching and inspecting crash with gdb Message-ID: <20041101140741.GA22717@nevyn.them.org> Mail-Followup-To: Marco Molteni , Devrim Erdem , gdb@sources.redhat.com References: <20041101123234.79fbbf10.molter@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041101123234.79fbbf10.molter@tin.it> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00002.txt.bz2 On Mon, Nov 01, 2004 at 12:32:34PM +0100, Marco Molteni wrote: > On Mon, 1 Nov 2004 12:03:58 +0100 > Devrim Erdem wrote: > > > Is there a way of attaching and application and ask gdb to write a > > core dump ( or any kind of dump of data ) which I could later load in > > gdb to debug the problem remotely. > > On BSD systems (don't know about others) there is gcore > http://www.freebsd.org/cgi/man.cgi?query=gcore It is also provided by recent versions of GDB on a number of systems. Devrim, take a look at the "generate-core-file" command. -- Daniel Jacobowitz