bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB: "warning: Can't wait for pid ???: No child processes" (was: GNU


From: Zhang Cong
Subject: Re: GDB: "warning: Can't wait for pid ???: No child processes" (was: GNU accepted as a mentoring organization in GSOC 2014)
Date: Tue, 8 Apr 2014 23:26:50 +0800


On Tue, Apr 8, 2014 at 11:00 PM, Hacklu <hacklu.newborn@gmail.com> wrote:

I am sorry to say that, when use gdb server you also need to re-parent process. Because when I implement gdb server on Hurd, I found there is a limit on Hurd when you attach to a process you can't resume the process from stop states(or says, this is a bug in native GDB on Hurd)

 
 Why, I can't understand ? the gdb server be the debugged program's parent, right?
 And gdb just interactive with gdb server and gdbserver interactive with the debugged program, right?

 If gdbserver run on another machine, when I remote debug, that's impossible to make the gdb to be the parent of debugged program, right?
 Why shoud gdb server need to re-parent process? 
 
If native gdb works, the gdb server way should work, and now the native way support continue, so the gdb server should ,too. 
Or, please told me why.
 

Thanks,
Cong Zhang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]