This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: fork debugging : back to parent.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Richard <rgrdev at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 10 Aug 2006 17:39:23 -0400
- Subject: Re: fork debugging : back to parent.
- References: <5693501.post@talk.nabble.com> <5752608.post@talk.nabble.com>
On Thu, Aug 10, 2006 at 02:06:38PM -0700, Richard wrote:
>
>
> Incidentally, I also tried "set $tmp=parent_id" (I made an api call to get
> the parent proc id in the child fork), and in the child I tried to "attach
> $tmp", but it said there was no such process. Is it not possible to use
> convenience variables for things like "attach"? "attach parent_id" worked
> fine.
Yes, I don't think convenience variables are supported there - some
targets may not use numbers for these identifiers, in theory.
--
Daniel Jacobowitz
CodeSourcery