This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Attaching and inspecting crash with gdb


On Mon, Nov 01, 2004 at 12:32:34PM +0100, Marco Molteni wrote:
> On Mon, 1 Nov 2004 12:03:58 +0100
> Devrim Erdem <devrim.erdem@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]