diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-09-09 12:08:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2010-09-09 12:08:59 +0000 |
commit | 8383c69606c8576d1d1852cda70763e1107f0316 (patch) | |
tree | 180a3d3b4a8c9e100f414ae66dd37f99d08edaef /binutils/dwarf.c | |
parent | dbb1f8044050fc5e4fe9f68674e9d9530cae2094 (diff) | |
download | gdb-8383c69606c8576d1d1852cda70763e1107f0316.zip gdb-8383c69606c8576d1d1852cda70763e1107f0316.tar.gz gdb-8383c69606c8576d1d1852cda70763e1107f0316.tar.bz2 |
* dwarf.c (decode_location_expression): Fix data adjustment
for DW_OP_GNU_implicit_pointer in v3+.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 17a608c..ebe7271 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -1122,7 +1122,7 @@ decode_location_expression (unsigned char * data, printf ("DW_OP_GNU_implicit_pointer: <0x%lx> %ld", (long) byte_get (data, offset_size), read_leb128 (data + offset_size, &bytes_read, 1)); - data += offset_size; + data += offset_size + bytes_read; } break; |