Handle DW_FORM_implicit_const when displaying an attribute
authorNick Clifton <nickc@redhat.com>
Wed, 30 Jun 2021 15:17:46 +0000 (16:17 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 30 Jun 2021 15:17:46 +0000 (16:17 +0100)
* dwarf.c (read_and_display_attr_value): Handle
DW_FORM_implicit_const.

binutils/ChangeLog
binutils/dwarf.c

index b5dedef26ee1e45aef567a7fa808891ed51bd6fc..b22a08110ccdba401def40dc5a589078c3143862 100644 (file)
@@ -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
index a61f099e3f24b0ff8eb2c0669d67ab7a26434ff0..de9d2b8c8f54d0ffe1f6b7022206b45e1fba33cb 100644 (file)
@@ -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)
This page took 0.028155 seconds and 4 git commands to generate.