[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [COMMIT PATCH] [Hurd/gnu-nat] Fix old "signal-thread" command regres
Re: [COMMIT PATCH] [Hurd/gnu-nat] Fix old "signal-thread" command regression.
Thu, 19 Sep 2013 10:46:27 +0200
Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu)
On Wed, 18 Sep 2013 13:01:39 +0100, Pedro Alves <address@hidden> 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
> 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.
Description: PGP signature
|[Prev in Thread]
||[Next in Thread]|
- Re: [COMMIT PATCH] [Hurd/gnu-nat] Fix old "signal-thread" command regression.,
Thomas Schwinge <=