This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix handle_inferior_event nostop signal handling for threads


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]