[PATCH 03/18] attach + target always in non-stop mode: stop all threads
Yao Qi
qiyaoltc@gmail.com
Fri Nov 27 09:33:00 GMT 2015
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 (齐尧)
More information about the Gdb-patches
mailing list