On Tue, Apr 8, 2014 at 11:00 PM, Hacklu <hacklu.newb...@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