[PATCH] Make binutils abort message GDB friendly

Alan Modra amodra@gmail.com
Mon Jul 20 04:05:00 GMT 2015


On Fri, Jul 17, 2015 at 08:35:43AM -0700, H.J. Lu wrote:
> We used to generate abort messages like:
> 
> internal error, aborting at .../bfd/elf64-x86-64.c line 1554 in elf_x86_64_check_relocs
> 
> We can't cut and paste "file line ???" to GDB.  This patch changes those
> abort messages to
> 
> internal error, aborting at .../bfd/elf64-x86-64.c:1554 in elf_x86_64_check_relocs
> 
> so that we can cut and paste "file:???" to GDB.

I like it.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list