diff options
author | Doug Evans <dje@google.com> | 2014-12-02 16:22:18 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-12-02 16:22:18 -0800 |
commit | 422b9917ceadf6247ac4d52aa198c291e5de4c10 (patch) | |
tree | 59a1f1818f2e21649c5a5067b1c7d5e1c03c53ae /gdb | |
parent | 47c6ee49907b49cbb804495b60abcba336f6b11d (diff) | |
download | gdb-422b9917ceadf6247ac4d52aa198c291e5de4c10.zip gdb-422b9917ceadf6247ac4d52aa198c291e5de4c10.tar.gz gdb-422b9917ceadf6247ac4d52aa198c291e5de4c10.tar.bz2 |
dwarf2read.c (peek_die_abbrev): Improve error message text.
gdb/ChangeLog:
* dwarf2read.c (peek_die_abbrev): Improve error message text.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6182358..c71c301 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-12-02 Doug Evans <dje@google.com> + * dwarf2read.c (peek_die_abbrev): Improve error message text. + +2014-12-02 Doug Evans <dje@google.com> + * valops.c (do_search_struct_field): Remove remnant of Chill support. Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 36cbbd9..5526db3 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; |