aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2002-05-22 13:21:19 +0000
committerMichal Ludvig <mludvig@suse.cz>2002-05-22 13:21:19 +0000
commit6c3eb89063d0db649eaecefe767b46d50fa91176 (patch)
treee25f7f9ba0491c9b56d3ba31be6b14c7b03e39bf /gdb
parent426e6456c0f627dc7be0b40553f6f2e874540f8c (diff)
downloadgdb-6c3eb89063d0db649eaecefe767b46d50fa91176.zip
gdb-6c3eb89063d0db649eaecefe767b46d50fa91176.tar.gz
gdb-6c3eb89063d0db649eaecefe767b46d50fa91176.tar.bz2
2002-05-22 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c (execute_stack_op): Change type of 'result' from ULONGEST to CORE_ADDR.
Diffstat (limited to 'gdb')
-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)