From: Daniel Jacobowitz <drow@mvista.com>
To: Datoda <datoda@yahoo.com>
Cc: gdb@sources.redhat.com
Subject: Re: Debugging a process that does fork on Intel Linux
Date: Wed, 21 Aug 2002 12:17:00 -0000 [thread overview]
Message-ID: <20020821191832.GA25356@nevyn.them.org> (raw)
In-Reply-To: <20020821191135.1896.qmail@web11201.mail.yahoo.com>
On Wed, Aug 21, 2002 at 12:11:35PM -0700, Datoda wrote:
> Hi,
>
> GDB has the concept of a catchpoint to catch a
> fork syscall in the debuggee. Alas, it doesn't work
> (yet) on intel linux. I put a little thought in it and
> thinks that what's missing is a kernel support for
> putting the parent and the child processes in a
> stopped state when the fork syscall is complete. At
> that point, the debugger can then attach to the child
> process and bring it under control.
>
> I was wondering if such a kernel support exists?
> If not, is there a plan for adding it? Or are there
> other ideas for catching forks on Linux? TIA.
I agree. I finished the kernel support last week, coincidentally. I'm
trying to get comments on it on linux-kernel before I port it to 2.4
and post the GDB bits (which work, but need some cleaning).
It may be a month or two. When I get around to doing the 2.4 port,
I'll let the list know.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2002-08-21 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 12:11 Datoda
2002-08-21 12:17 ` Daniel Jacobowitz [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=20020821191832.GA25356@nevyn.them.org \
--to=drow@mvista.com \
--cc=datoda@yahoo.com \
--cc=gdb@sources.redhat.com \
/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