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: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 20 Jul 2015 13:34:55 +0930
- Subject: Re: [PATCH] Make binutils abort message GDB friendly
- Authentication-results: sourceware.org; auth=none
- References: <20150717153543 dot GA31192 at intel dot com>
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