aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-06-04 02:39:16 +0000
committerHui Zhu <teawater@gmail.com>2010-06-04 02:39:16 +0000
commit44b5680ae1ce75ee4c6c06528ded329ff1741b11 (patch)
tree6f263e7a6ec21a935feaa473743dbc71b3dae2d1 /gdb/dwarf2loc.c
parentfbfa44fc359984657ed5a9b1a1a2a97b51d03b6d (diff)
downloadgdb-44b5680ae1ce75ee4c6c06528ded329ff1741b11.zip
gdb-44b5680ae1ce75ee4c6c06528ded329ff1741b11.tar.gz
gdb-44b5680ae1ce75ee4c6c06528ded329ff1741b11.tar.bz2
2010-06-04 Hui Zhu <teawater@gmail.com>
* dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.
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 30464ff..b14a4ac 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -1536,7 +1536,7 @@ disassemble_dwarf_expression (struct ui_file *stream,
fprintf_filtered (stream, " %s", pulongest (ul));
break;
case DW_OP_consts:
- data = read_sleb128 (data, end, &ul);
+ data = read_sleb128 (data, end, &l);
fprintf_filtered (stream, " %s", plongest (l));
break;