force fully core dump
Elena Zannoni
ezannoni@redhat.com
Fri Aug 15 12:57:00 GMT 2003
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
More information about the Gdb
mailing list