aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-07-26 08:47:14 +0000
committerTristan Gingold <gingold@adacore.com>2012-07-26 08:47:14 +0000
commita55c1f3223cdee4e9bd7bcfe6e3aeb2a0939cd29 (patch)
tree59b2da1e594d8202c792854b649f0d76571e3ad4 /gdb/dwarf2loc.c
parent56eb65bdc1c09ce20ade6cd53ef23729055c623b (diff)
downloadgdb-a55c1f3223cdee4e9bd7bcfe6e3aeb2a0939cd29.zip
gdb-a55c1f3223cdee4e9bd7bcfe6e3aeb2a0939cd29.tar.gz
gdb-a55c1f3223cdee4e9bd7bcfe6e3aeb2a0939cd29.tar.bz2
2012-07-26 Tristan Gingold <gingold@adacore.com>
* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for offset.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r--gdb/dwarf2loc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 67a31f8..31c6a3e 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -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);