This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Updates support for breakpoints that generate SIGILL
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 29 Jan 2010 08:09:33 +0400
- Subject: Re: RFC: Updates support for breakpoints that generate SIGILL
- References: <20100128215914.GB2813@caradoc.them.org>
> Any thoughts about this patch, or shall I check it in? Tested on
> arm-linux-gnueabi using gdbserver, both with and without SIGILLs.
I agree that the patch is useful - someone else might need the same
functionality later on too.
> 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
>
> gdb/
> * infrun.c (prepare_to_proceed): Handle other signals which might
> match a breakpoint.
> (handle_inferior_event): Move the check for unusual breakpoint
> signals earlier.
>
> gdb/gdbserver/
> * linux-low.c (get_stop_pc): Check for SIGTRAP.
> (linux_wait_for_event_1): Handle SIGILL and SIGSEGV as possible
> breakpoints.
--
Joel