public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Papadonis <npapadon@yahoo.com>
To: Julien Laganier <Julien.Laganier@Sun.COM>
Cc: Linux Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Fork vs GDB
Date: 26 Jun 2001 09:03:23 -0400	[thread overview]
Message-ID: <m3ae2vz944.fsf@yahoo.com> (raw)
In-Reply-To: <3B375A77.C59A516D@Sun.COM>
In-Reply-To: <3B375A77.C59A516D@Sun.COM> (Julien Laganier's message of "Mon, 25 Jun 2001 17:36:23 +0200")

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

      reply	other threads:[~2001-06-26 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25 15:36 Fork vs GDB Julien Laganier
2001-06-26 13:03 ` Nick Papadonis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ae2vz944.fsf@yahoo.com \
    --to=npapadon@yahoo.com \
    --cc=Julien.Laganier@Sun.COM \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox