* dwarf.c (decode_location_expression): Fix data adjustment
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Sep 2010 12:08:59 +0000 (12:08 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 9 Sep 2010 12:08:59 +0000 (12:08 +0000)
for DW_OP_GNU_implicit_pointer in v3+.

binutils/ChangeLog
binutils/dwarf.c

index 6cdb68b6901b358ff553f808d9546aab35aab13b..b62e9e003bea372ab9b97fcb6ede8b1d8e2bc9b5 100644 (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.
index 17a608c9fa0a0877b337f43efd700ea34f22c780..ebe727105ea4154f81bca130d46f105a7fa124b1 100644 (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;
 
This page took 0.035881 seconds and 4 git commands to generate.