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

binutils/
	* dwarf.c (decode_location_expression): Add
	DW_OP_GNU_const_index.
This commit is contained in:
Cary Coutant
2012-09-07 01:22:21 +00:00
parent 610b99881a
commit aae628c131
2 changed files with 10 additions and 0 deletions

View File

@ -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: