Hi Pedro!

On Wed, 18 Sep 2013 13:01:39 +0100, Pedro Alves <pal...@redhat.com> wrote:
> By inspection, I noticed that when I made the gnu-nat use
> ptid(pid,0,tid) to represent a thread, instead of using ptid(tid,0,0),
> in <https://sourceware.org/ml/gdb-patches/2008-08/msg00175.html>, I
> introduced a bug.
> 
> The change was: [...]

> So before, [...]
> 
> The right fix is to compare the whole ptid to minus_one_ptid, of
> course.
> 
> Completely untested, but I think it's obvious enough, so I went ahead
> and put it in.

Thanks!  Now confirmed the issue as well as the fix.


As I found some months ago, Hurd GDB's signal-thread detection is broken
anyway, but despite that, GDB does work -- will have to look into that.


Grüße,
 Thomas

Attachment: pgpoayEKtgLaG.pgp
Description: PGP signature

Reply via email to