This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Make binutils abort message GDB friendly
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 20 Jul 2015 06:02:49 -0700
- Subject: Re: [PATCH] Make binutils abort message GDB friendly
- Authentication-results: sourceware.org; auth=none
- References: <20150717153543 dot GA31192 at intel dot com> <20150720040455 dot GC4314 at bubble dot grove dot modra dot org>
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.