Display user op byte

binutils/
2017-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf.c (decode_location_expression): Display also OP.
This commit is contained in:
Jan Kratochvil 2017-02-22 20:22:59 +01:00
parent 233f82cfb4
commit 0502a2b49c
2 changed files with 6 additions and 2 deletions

View 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

View 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;
}