* Fork vs GDB
@ 2001-06-25 15:36 Julien Laganier
2001-06-26 13:03 ` Nick Papadonis
0 siblings, 1 reply; 2+ messages in thread
From: Julien Laganier @ 2001-06-25 15:36 UTC (permalink / raw)
To: Linux Mailing List
Greetings,
Does anyone knows how to debug a program which fork. It seems that gdb
doesn't allow us to debug the child processes without calling 'sleep' in
the child, and attach it to gdb (Except on HP-UX, but I choose to use
Linux ;-)) ?
Tnx.
--
Julien Laganier
Student Intern
Sun Microsystem Laboratories
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fork vs GDB
2001-06-25 15:36 Fork vs GDB Julien Laganier
@ 2001-06-26 13:03 ` Nick Papadonis
0 siblings, 0 replies; 2+ messages in thread
From: Nick Papadonis @ 2001-06-26 13:03 UTC (permalink / raw)
To: Julien Laganier; +Cc: Linux Mailing List
Julien Laganier <Julien.Laganier@Sun.COM> writes:
> Greetings,
>
> Does anyone knows how to debug a program which fork. It seems that gdb
> doesn't allow us to debug the child processes without calling 'sleep' in
> the child, and attach it to gdb (Except on HP-UX, but I choose to use
> Linux ;-)) ?
>
> Tnx.
Julien,
I had this question awhile back. Your solution with sleep is the only
option, unless you wish to add support for another method.
- N
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-26 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-25 15:36 Fork vs GDB Julien Laganier
2001-06-26 13:03 ` Nick Papadonis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox