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: [PATCH 03/18] attach + target always in non-stop mode: stop all threads


Pedro Alves <palves@redhat.com> writes:

> But this the GDB thread id.  If a new thread recycles an old pid/tid, it'll
> still get a new GDB thread id.  (And if GDB thread ids wrap around we have
> bigger problems elsewhere, which I think we'd likely sort by simply making
> gdb thread ids 64-bit instead).

Oh, we compare thread->num, which is the thread id in GDB.  I thought we
compare process/thread id.  Sorry about that.  Patch is good to me.

-- 
Yao (éå)


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