diff options
-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; |