aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2017-02-22 20:22:59 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2017-02-22 20:22:59 +0100
commit0502a2b49c5a5c1f6de203c08e4d45509cd6a9fa (patch)
treec610c3f1fb2be8b05c0b5bb659cc2430831f07bd /binutils/dwarf.c
parent233f82cfb4c3f496712648c20994e0dbabe8aa79 (diff)
downloadgdb-0502a2b49c5a5c1f6de203c08e4d45509cd6a9fa.zip
gdb-0502a2b49c5a5c1f6de203c08e4d45509cd6a9fa.tar.gz
gdb-0502a2b49c5a5c1f6de203c08e4d45509cd6a9fa.tar.bz2
Display user op byte
binutils/ 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf.c (decode_location_expression): Display also OP.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 6d879c9..c9755f8 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;
}