diff options
author | Tom Tromey <tromey@adacore.com> | 2019-05-22 09:08:49 -0400 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-05-29 09:57:47 -0600 |
commit | fa9c3fa035433debc24503e32c59688650ffcdbb (patch) | |
tree | 748962869050a8b22eac312e0c23f8d19c79067c /libctf/ctf-open.c | |
parent | 4330d61dfb05d77fd925efdca45091f12e3a6266 (diff) | |
download | binutils-fa9c3fa035433debc24503e32c59688650ffcdbb.zip binutils-fa9c3fa035433debc24503e32c59688650ffcdbb.tar.gz binutils-fa9c3fa035433debc24503e32c59688650ffcdbb.tar.bz2 |
Make some DWARF complaints clearer
I noticed that the complaint in partial_die_parent_scope was not using
dwarf_tag_name, so I changed that. Then I noticed that dwarf_tag_name
does not show the numeric value for an unrecognized tag, so I changed
that function and all the related functions to do so.
gdb/ChangeLog
2019-05-29 Tom Tromey <tromey@adacore.com>
* dwarf2read.c (partial_die_parent_scope): Call dwarf_tag_name.
(dwarf_unknown): New function.
(dwarf_tag_name, dwarf_attr_name, dwarf_form_name)
(dwarf_type_encoding_name): Use dwarf_unknown.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions