From: Doug Evans Date: Wed, 3 Dec 2014 00:22:18 +0000 (-0800) Subject: dwarf2read.c (peek_die_abbrev): Improve error message text. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=422b9917ceadf6247ac4d52aa198c291e5de4c10;p=binutils-gdb.git dwarf2read.c (peek_die_abbrev): Improve error message text. gdb/ChangeLog: * dwarf2read.c (peek_die_abbrev): Improve error message text. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6182358b092..c71c3011850 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-12-02 Doug Evans + + * dwarf2read.c (peek_die_abbrev): Improve error message text. + 2014-12-02 Doug Evans * valops.c (do_search_struct_field): Remove remnant of Chill support. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 36cbbd90b7f..5526db35b9c 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -7130,8 +7130,10 @@ peek_die_abbrev (const gdb_byte *info_ptr, unsigned int *bytes_read, abbrev = abbrev_table_lookup_abbrev (cu->abbrev_table, abbrev_number); if (!abbrev) { - error (_("Dwarf Error: Could not find abbrev number %d [in module %s]"), - abbrev_number, bfd_get_filename (abfd)); + error (_("Dwarf Error: Could not find abbrev number %d in %s" + " at offset 0x%x [in module %s]"), + abbrev_number, cu->per_cu->is_debug_types ? "TU" : "CU", + cu->header.offset.sect_off, bfd_get_filename (abfd)); } return abbrev;