diff options
author | Cary Coutant <ccoutant@google.com> | 2012-09-07 01:22:20 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2012-09-07 01:22:20 +0000 |
commit | c8c90359cffec2c877834a6a1d311b93d9c2aa33 (patch) | |
tree | a7a4d4824276707aa0034debfc94ea4dcd1eea96 /binutils/dwarf.c | |
parent | 932a6500784e21d55f8a118cc3a1803a1922abcf (diff) | |
download | binutils-redhat-c8c90359cffec2c877834a6a1d311b93d9c2aa33.tar.gz |
2012-09-06 Cary Coutant <ccoutant@google.com>
binutils/
* dwarf.c (decode_location_expression): Add
DW_OP_GNU_const_index.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index d8050faf98..86d42a380e 100644 --- a/binutils/dwarf.c +++ b/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: |