[Patch, moxie] Print 'bad' instructions in disassembly instead of aborting
Pedro Alves
palves@redhat.com
Fri Sep 28 16:01:00 GMT 2012
On 09/28/2012 04:50 PM, Joel Brobecker wrote:
>> If other ports are doing this, it's an accident waiting to happen.
>
> ISTR bfd doing it too, because we tripped over something like that.
> BFD noticed a bad RELA entry and thought it was a sign of an internal
> error. So it aborted and GDB never had a chance to handle the situation
> more gracefully.
Yeah. The point to take home is that bad input should never
cause an abort.
--
Pedro Alves
More information about the Binutils
mailing list