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 3:16 PM, Daniel Jacobowitz <drow@false.org> wrote:
>> For clarification, your comment:
>>
>> > It shouldn't be
>> > doing any ATTACH; instead it should be trusting SETOPTIONS to deliver
>> > new threads to it via wait.
>>
>> was for the case where gdbserver starts the program, and not for the
>> case where gdbserver attaches to the program, right?
>
> Well, it's for any thread created once the program is running under
> gdbserver control.  Which amounts to the same thing here.

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.


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