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: force fully core dump


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.<process_id>'.


elena


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