From: Jan Kratochvil Date: Wed, 22 Feb 2017 19:22:59 +0000 (+0100) Subject: Display user op byte X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0502a2b49c5a5c1f6de203c08e4d45509cd6a9fa;p=binutils-gdb.git Display user op byte binutils/ 2017-02-22 Jan Kratochvil * dwarf.c (decode_location_expression): Display also OP. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 88568b43d0b..18b9d8127d5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2017-02-22 Jan Kratochvil + + * dwarf.c (decode_location_expression): Display also OP. + 2017-02-22 Maciej W. Rozycki * readelf.c (process_version_sections) : Print a diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 6d879c9b61e..c9755f8165b 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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; }