fork debugging : back to parent.

Daniel Jacobowitz drow@false.org
Thu Aug 10 21:39:00 GMT 2006


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



More information about the Gdb mailing list