lkml.org 
[lkml]   [2000]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: core dump
Why not just attach gdb to the running process?

Matt Dharm

On Tue, 11 Jan 2000, The Lost Wizard wrote:

> On Tue, 11 Jan 2000, Mike A. Harris wrote:
>
> > On Sun, 3 Jan 1999, Christophe leroy wrote:
> > >Is there a way to make a core dump of a program without killing it,
> > >in order to make some debugging while the program is still running ?
> >
> > kill -SEGV <pid>
> >
> > or
> >
> > kill -11 <pid>
> >
> > or
> >
> > killall -SEGV <process name>
> >
> > I believe that will do it, so long as coredumps are not disabled.
>
> No, that won't do it. It will terminate the process. My understanding of
> the question is that he wanted to get a core dump and leave the process
> running.
>
> I have a couple of situations where that would be handy as well.
>
> William Astle
> "Floppity, floppity, flip / The mouse on the mobius strip; / The strip
> revolved, / The mouse dissolved / In a chronodimensional skip."
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS/M/S d- s+:+ !a C++ UL++++$ P++ L+++ !E W++ !N w--- !O !M PS PE V-- Y+
> PGP t+@ 5++ X !R tv+@ b+++@ !DI D? G e++ h+ y?
> ------END GEEK CODE BLOCK------
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Matthew Dharm Home: mdharm@one-eyed-alien.net
Engineer, Qualcomm, Inc. Work: mdharm@qualcomm.com

Okay, this isn't funny anymore! Let me down! I'll tell Bill on you!!
-- Microsoft Salesman
User Friendly, 4/1/1998


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.040 / U:2.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site