Make binutils abort message GDB friendly
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 17 Jul 2015 15:29:26 +0000 (08:29 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jul 2015 12:53:31 +0000 (05:53 -0700)
commit7ac018954bd9c2d964204a451ecabdd7d8a11945
tree86b533dd48bec9fa2eae73d7f4d2c885e313929c
parentf2d7e0f45023ef1b469c627aff02ead3697b1240
Make binutils abort message GDB friendly

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.

bfd/

* bfd.c (_bfd_abort): Replace " line " with ":" in output
message.

gas/

* messages.c (as_assert): Replace " line " with ":" in output
message.
(as_abort): Likewise.

ld/

* ldmisc.c (ld_abort): Replace " line " with ":" in output
message.
bfd/bfd.c
gas/messages.c
ld/ldmisc.c
This page took 0.037473 seconds and 4 git commands to generate.