aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-06-30 16:17:46 +0100
committerNick Clifton <nickc@redhat.com>2021-06-30 16:17:46 +0100
commitc63fc3680abb57eddb7c0cefbf11c01736286890 (patch)
treebcb2f4511e52f16eefe4aff7c6c962ebadd3c1cc /binutils/dwarf.c
parent280c57ff58f8cb7c70d47ffbfeb446ca9b562c96 (diff)
downloadgdb-c63fc3680abb57eddb7c0cefbf11c01736286890.zip
gdb-c63fc3680abb57eddb7c0cefbf11c01736286890.tar.gz
gdb-c63fc3680abb57eddb7c0cefbf11c01736286890.tar.bz2
Handle DW_FORM_implicit_const when displaying an attribute
* dwarf.c (read_and_display_attr_value): Handle DW_FORM_implicit_const.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index a61f099..de9d2b8 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -2517,6 +2517,10 @@ read_and_display_attr_value (unsigned long attribute,
offset_size, dwarf_version,
debug_info_p, do_loc,
section, this_set, delimiter, level);
+
+ case DW_FORM_implicit_const:
+ uvalue = implicit_const;
+ break;
}
switch (form)