[PATCH] Make binutils abort message GDB friendly

H.J. Lu hjl.tools@gmail.com
Mon Jul 20 13:02:00 GMT 2015


On Sun, Jul 19, 2015 at 9:04 PM, Alan Modra <amodra@gmail.com> wrote:
> 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.

I checked it in.

Thanks.

-- 
H.J.



More information about the Binutils mailing list