[PATCH] Prevent internal-error when computing $pc in ARM assembly code
Joel Brobecker
brobecker@adacore.com
Mon Jun 15 13:36:00 GMT 2015
> > It would be good to have a few more details about what causes us
> > to be in a situation where we'd be failing to read memory at
> > an address. Perhaps just showing the disassembled code and
> > a quick explanation of what happens might be sufficient.
>
> I agree with Joel that we need more details about the problem you are
> trying to fix.
I think the problem comes from improper unwinding of a function
having an unusual frame, causing us to use a bogus return address
which could be anywhere, including in an unreadable memory area.
--
Joel
More information about the Gdb-patches
mailing list