This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make binutils abort message GDB friendly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]