diff options
author | Hui Zhu <teawater@gmail.com> | 2010-06-04 02:39:16 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2010-06-04 02:39:16 +0000 |
commit | 44b5680ae1ce75ee4c6c06528ded329ff1741b11 (patch) | |
tree | 6f263e7a6ec21a935feaa473743dbc71b3dae2d1 /gdb | |
parent | fbfa44fc359984657ed5a9b1a1a2a97b51d03b6d (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1df8206..6993791 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-06-04 Hui Zhu <teawater@gmail.com> + + * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l. + 2010-06-03 Doug Evans <dje@google.com> * configure.ac: Don't fail if python is unusable when 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; |