From 44b5680ae1ce75ee4c6c06528ded329ff1741b11 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Fri, 4 Jun 2010 02:39:16 +0000 Subject: [PATCH] 2010-06-04 Hui Zhu * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2loc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1df82061cc6..69937915de5 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 30464ff1bd4..b14a4ac9b82 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; -- 2.30.2