Display user op byte
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Feb 2017 19:22:59 +0000 (20:22 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Feb 2017 19:22:59 +0000 (20:22 +0100)
binutils/
2017-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf.c (decode_location_expression): Display also OP.

binutils/ChangeLog
binutils/dwarf.c

index 88568b43d0b4b97fb90abcb4cc81601d4f8a4371..18b9d8127d5c5dc9a7e02393490c3a619d3fcd40 100644 (file)
@@ -1,3 +1,7 @@
+2017-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (decode_location_expression): Display also OP.
+
 2017-02-22  Maciej W. Rozycki  <macro@imgtec.com>
 
        * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
index 6d879c9b61ec341409a0fea9d254945828729373..c9755f8165ba051475833835a1acaee9af169488 100644 (file)
@@ -1420,9 +1420,9 @@ decode_location_expression (unsigned char * data,
        default:
          if (op >= DW_OP_lo_user
              && op <= DW_OP_hi_user)
-           printf (_("(User defined location op)"));
+           printf (_("(User defined location op 0x%x)"), op);
          else
-           printf (_("(Unknown location op)"));
+           printf (_("(Unknown location op 0x%x)"), op);
          /* No way to tell where the next op is, so just bail.  */
          return need_frame_base;
        }