[Top][All Lists]

[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: Hacklu
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:00:16 +0800


 Zhang Cong <congzhang@mathphoenix.com> wrote:

Hi Thomas,

   I want to make uim-fep ( https://code.google.com/p/uim/wiki/UimFep )  work with hurd,  it a front end processer, it's not work and I try to debug it.

   Because the program itself need hook the input and output,  so I can't use gdb to direct debug it,  I don't want to make the input/output dirty by gdb. 

   I use attach way to debug uim-fep, but when I continue, I got the message and current terminal dead even in ssh.

   So, how can I to make the attached process continue?

   That maybe some limit of hurd gdb.
   If it's some problem related to reparent process, when I use gdb server, that is no need to reparent, right?

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)

Ps: GDB can set parameter when debugging, if helps in your situation

(sorry for the bad format, send from iPad without computer by hands)

On Tue, Apr 8, 2014 at 12:35 AM, Thomas Schwinge <thomas@codesourcery.com> wrote:

On Tue, 8 Apr 2014 00:20:57 +0800, Zhang Cong <congzhang@mathphoenix.com> wrote:
> I am very interesting in that will the gdb server be a workaround for hurd
> gdb's
> "warning: Can't wait for pid ???: No child processes"  problem?
> Can anyone has workable gdb server to do a test?  Can't continue really
> make me crazy and not so convenience.

It'd be more useful if you described what you're trying to do, and how
that's failing with native GDB debugging.  :-)

That said, last summer's gdbserver work by Yue Lu is available at


reply via email to

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