* dwarf.c (decode_location_expression): Fix data adjustment

for DW_OP_GNU_implicit_pointer in v3+.
This commit is contained in:
Jakub Jelinek 2010-09-09 12:08:59 +00:00
parent dbb1f80440
commit 8383c69606
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-09 Jakub Jelinek <jakub@redhat.com>
* dwarf.c (decode_location_expression): Fix data adjustment
for DW_OP_GNU_implicit_pointer in v3+.
2010-09-09 Tristan Gingold <gingold@adacore.com>
* NEWS: Add entry to NEWS for hppa/som.

View File

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