This is the mail archive of the gdb-patches@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: Run process-dies-while-detaching.exp with SW watchpoint


On Tue, Aug 23, 2016 at 4:20 PM, Pedro Alves <palves@redhat.com> wrote:
>>
>> looks linux-nat target thinks the thread is stopped, but thread-db can't
>> find the thread.  Is it a known problem (in gdb or glibc)?
>>
>
> Doesn't this just mean that the process died meanwhile?
> That's the point of the test.  /proc/TID/status probably shows
> that the thread is now zombie.

Yes, I know what happened there, but not sure what is the best place
to fix the problem.  IIUC, we need to fix GDB somewhere to handle
such case that linux-nat thinks the thread is stopped, but thread-db
can't find it, is it right?

-- 
Yao (齐尧)


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