gdbserver ptrace not doing waitpid after attaching to threads?
Daniel Jacobowitz
drow@false.org
Sat Dec 13 01:07:00 GMT 2008
On Fri, Dec 12, 2008 at 03:21:36PM -0800, Doug Evans wrote:
> Right, new threads could be created after the SETOPTIONS goes into
> affect. But I'm still unclear whether SETOPTIONS will deliver threads
> that have already been created and exist when gdbserver attaches.
Nope. You need a different mechanism for that; either libthread_db as
today, or /proc/pid/task/.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list