This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch, moxie] Print 'bad' instructions in disassembly instead of aborting
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