diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1df82061cc..69937915de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-06-04 Hui Zhu + + * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l. + 2010-06-03 Doug Evans * configure.ac: Don't fail if python is unusable when diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 30464ff1bd..b14a4ac9b8 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;