2012-07-26 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 26 Jul 2012 08:47:14 +0000 (08:47 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 26 Jul 2012 08:47:14 +0000 (08:47 +0000)
* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
offset.

gdb/ChangeLog
gdb/dwarf2loc.c

index 5c7e3764984f345613bdbc5d34dac411efaa5be1..a4d39a2d6b1e4c513cf235b0106044cd864050af 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-26  Tristan Gingold  <gingold@adacore.com>
+
+       * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for
+       offset.
+
 2012-07-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter
index 67a31f8d050e674900addc77afe8918f0755de23..31c6a3e8fb2697921349881a7d944810a9a5ae5a 100644 (file)
@@ -3430,7 +3430,7 @@ locexpr_describe_location_piece (struct symbol *symbol, struct ui_file *stream,
           && data[1 + leb128_size] == DW_OP_GNU_push_tls_address
           && piece_end_p (data + 2 + leb128_size, end))
     {
-      ULONGEST offset;
+      uint64_t offset;
 
       data = safe_read_uleb128 (data + 1, end, &offset);
       offset = dwarf2_read_addr_index (per_cu, offset);