diff options
author | Nick Clifton <nickc@redhat.com> | 2021-06-30 16:17:46 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-06-30 16:17:46 +0100 |
commit | c63fc3680abb57eddb7c0cefbf11c01736286890 (patch) | |
tree | bcb2f4511e52f16eefe4aff7c6c962ebadd3c1cc /binutils | |
parent | 280c57ff58f8cb7c70d47ffbfeb446ca9b562c96 (diff) | |
download | gdb-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')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/dwarf.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b5dedef..b22a081 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2021-06-30 Tom Tromey <tom@tromey.com> + + * dwarf.c (read_and_display_attr_value): Handle + DW_FORM_implicit_const. + 2021-06-30 Richard Henderson <richard.henderson@linaro.org> * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf 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) |