This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Fix handle_inferior_event nostop signal handling for threads
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sources dot redhat dot com
- Cc: Atsushi Nemoto <anemo at mba dot ocn dot ne dot jp>
- Date: Tue, 9 Mar 2004 11:41:00 -0500
- Subject: Re: [patch] Fix handle_inferior_event nostop signal handling for threads
- References: <20040307010654.GA10796@nevyn.them.org>
On Sat, Mar 06, 2004 at 08:06:54PM -0500, Daniel Jacobowitz wrote:
> Atsushi-san, could you verify that this patch still fixes your problem?
> I took a look at the #if 0 block, and that made me look at the surrounding
> code; I don't believe that a bit of it is necessary. If we switch "current"
> threads in response to this event, then all the following bits of
> handle_inferior_event should handle the current thread correctly.
>
> If this works for you I'll commit it to HEAD. I'm not sure if it's safe for
> the branch. No regressions on native i686-linux, and it fixes a quirk that
> the previous patch I sent you introduced (we could sometimes fail to print
> about a pass/print/nostop signal).
> 2004-03-06 Daniel Jacobowitz <drow@mvista.com>
>
> * infrun.c (handle_inferior_event): Remove short-circuit code for
> events in a different thread.
I've committed this for HEAD after retesting on i686-linux and
i686-linux/gdbserver.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer