From c63fc3680abb57eddb7c0cefbf11c01736286890 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Jun 2021 16:17:46 +0100 Subject: [PATCH] Handle DW_FORM_implicit_const when displaying an attribute * dwarf.c (read_and_display_attr_value): Handle DW_FORM_implicit_const. --- binutils/ChangeLog | 5 +++++ binutils/dwarf.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b5dedef26ee..b22a08110cc 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2021-06-30 Tom Tromey + + * dwarf.c (read_and_display_attr_value): Handle + DW_FORM_implicit_const. + 2021-06-30 Richard Henderson * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf diff --git a/binutils/dwarf.c b/binutils/dwarf.c index a61f099e3f2..de9d2b8c8f5 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) -- 2.30.2