[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB HEAD (partly) broken for GNU/Hurd
From: |
Pedro Alves |
Subject: |
Re: GDB HEAD (partly) broken for GNU/Hurd |
Date: |
Sat, 11 Oct 2008 18:46:31 +0100 |
User-agent: |
KMail/1.9.9 |
On Saturday 11 October 2008 18:26:11, Thomas Schwinge wrote:
> > Doesn't resume the whole shell?
>
> But as I see things we always have ``non_stop == 0'' and thus
> ``resume_ptid = pid_to_ptid (-1)'', so that should be fine, isn't it?
>
Duh! Yes, of course.
> Here is a debugging-enabled run of a thusly patched GDB HEAD:
Thanks.
>
> STOPPED_BY_WATCHPOINT () = 0
> infrun: context switch
> infrun: Switching context from bogus thread id 1 to Thread 25830.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is missing in the new implementation. In Hurd when going through
the shell doing fork/execs, we see new threads at every exec, and the
old threads disappear. Could you try adding a `switch_to_thread
(resume_thread)'
somewhere after target_wait returns and before any other target method?
--
Pedro Alves
- GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/09
- Re: GDB HEAD (partly) broken for GNU/Hurd, Pedro Alves, 2008/10/09
- Re: GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/10
- Re: GDB HEAD (partly) broken for GNU/Hurd, Pedro Alves, 2008/10/10
- Re: GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/11
- [PATCH?] GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/11
- Re: [PATCH?] GDB HEAD (partly) broken for GNU/Hurd, Ulrich Weigand, 2008/10/13
- Re: [PATCH?] GDB HEAD (partly) broken for GNU/Hurd, Pedro Alves, 2008/10/13
- Re: [PATCH?] GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/14
- Re: GDB HEAD (partly) broken for GNU/Hurd,
Pedro Alves <=
- Re: GDB HEAD (partly) broken for GNU/Hurd, Thomas Schwinge, 2008/10/11