Browse Source

2012-09-06 Cary Coutant <ccoutant@google.com>

binutils/
	* dwarf.c (decode_location_expression): Add
	DW_OP_GNU_const_index.
gdb_7_6-branch
Cary Coutant 14 years ago
parent
commit
aae628c131
  1. 5
      binutils/ChangeLog
  2. 5
      binutils/dwarf.c

5
binutils/ChangeLog

@ -1,3 +1,8 @@
2012-09-06 Cary Coutant <ccoutant@google.com>
* dwarf.c (decode_location_expression): Add
DW_OP_GNU_const_index.
2012-09-06 Nick Clifton <nickc@redhat.com>
* doc/binutils.texi (nm): Alpha-sort the option descriptions.

5
binutils/dwarf.c

@ -1192,6 +1192,11 @@ decode_location_expression (unsigned char * data,
data += bytes_read;
printf ("DW_OP_GNU_addr_index <0x%s>", dwarf_vmatoa ("x", uvalue));
break;
case DW_OP_GNU_const_index:
uvalue = read_leb128 (data, &bytes_read, 0);
data += bytes_read;
printf ("DW_OP_GNU_const_index <0x%s>", dwarf_vmatoa ("x", uvalue));
break;
/* HP extensions. */
case DW_OP_HP_is_value:

Loading…
Cancel
Save