aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dwarf2cfi.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b4e1a7b..5aac74a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -5,6 +5,8 @@
(dwarf2_build_frame_info): Corrected handling of eh_frame.
(dwarf2_build_frame_info): Add offset to fde->initial_location
so that frames of shared libraries are mapped correctly.
+ (execute_stack_op): Change type of 'result' from ULONGEST to
+ CORE_ADDR.
2002-05-22 Jason Thorpe <thorpej@wasabisystems.com>
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c
index e7524f6..783d1c0 100644
--- a/gdb/dwarf2cfi.c
+++ b/gdb/dwarf2cfi.c
@@ -875,7 +875,8 @@ execute_stack_op (struct objfile *objfile,
while (op_ptr < op_end)
{
enum dwarf_location_atom op = *op_ptr++;
- ULONGEST result, reg;
+ CORE_ADDR result;
+ ULONGEST reg;
LONGEST offset;
switch (op)