* force fully core dump
@ 2003-08-15 7:27 Brijesh Shukla
2003-08-15 12:15 ` Bob Rossi
0 siblings, 1 reply; 4+ messages in thread
From: Brijesh Shukla @ 2003-08-15 7:27 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: force fully core dump
2003-08-15 7:27 force fully core dump Brijesh Shukla
@ 2003-08-15 12:15 ` Bob Rossi
2003-08-15 12:57 ` Elena Zannoni
2003-08-15 13:04 ` Brijesh Shukla
0 siblings, 2 replies; 4+ messages in thread
From: Bob Rossi @ 2003-08-15 12:15 UTC (permalink / raw)
To: Brijesh Shukla; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: force fully core dump
2003-08-15 12:15 ` Bob Rossi
@ 2003-08-15 12:57 ` Elena Zannoni
2003-08-15 13:04 ` Brijesh Shukla
1 sibling, 0 replies; 4+ messages in thread
From: Elena Zannoni @ 2003-08-15 12:57 UTC (permalink / raw)
To: Bob Rossi; +Cc: Brijesh Shukla, gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: force fully core dump
2003-08-15 12:15 ` Bob Rossi
2003-08-15 12:57 ` Elena Zannoni
@ 2003-08-15 13:04 ` Brijesh Shukla
1 sibling, 0 replies; 4+ messages in thread
From: Brijesh Shukla @ 2003-08-15 13:04 UTC (permalink / raw)
To: Bob Rossi; +Cc: gdb
Hi Bob
Thankyou very much, i am using RedHat 8.0, the command given by you
generate a Core dump file..
thanks again
regards
Brijesh
Bob Rossi wrote:
>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
>>
>>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-08-15 13:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-15 7:27 force fully core dump Brijesh Shukla
2003-08-15 12:15 ` Bob Rossi
2003-08-15 12:57 ` Elena Zannoni
2003-08-15 13:04 ` Brijesh Shukla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).