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: gdbserver ptrace not doing waitpid after attaching to threads?


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


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