This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fork debugging : back to parent.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]