RFC: Updates support for breakpoints that generate SIGILL
Daniel Jacobowitz
dan@codesourcery.com
Mon Feb 8 19:45:00 GMT 2010
On Mon, Feb 08, 2010 at 08:35:17PM +0100, Ulrich Weigand wrote:
> Unfortunately this change broke Cell/B.E. debugging.
>
> The problem is that with the change, handle_inferior_event will now
> *always* look up a regcache, even when the process has exited.
>
> Before the patch, the code has always taken care to avoid that; while
> some targets don't mind, others will break (in particular, the Cell/B.E.
> multi-arch target does).
>
> The patch below changes this to only look up the regcache when needed
> (in particular, this implies the process is still there).
>
> Tested on Cell/B.E. (ppc32 and ppc64) with no regressions.
>
> Does this look OK to you?
Sorry for the breakage. Yes, your fix looks good to me.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list