aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-07-07 22:00:09 +0000
committerNicholas Duffek <nsd@redhat.com>2000-07-07 22:00:09 +0000
commit470d566602a0a300817959c511893e084a6cd1b2 (patch)
treead49727a5d61e9086994abb71bd2e40c1c7ff3a0 /gdb/rs6000-tdep.c
parent28609fd471be8d30b2e9d8de517495c26b11f45e (diff)
downloadgdb-470d566602a0a300817959c511893e084a6cd1b2.zip
gdb-470d566602a0a300817959c511893e084a6cd1b2.tar.gz
gdb-470d566602a0a300817959c511893e084a6cd1b2.tar.bz2
* xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
* rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 6b22074..f61074b 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -687,10 +687,10 @@ extern int stop_stack_dummy;
static void
rs6000_pop_frame (void)
{
- CORE_ADDR pc, lr, sp, prev_sp; /* %pc, %lr, %sp */
+ CORE_ADDR pc, lr, sp, prev_sp, addr; /* %pc, %lr, %sp */
struct rs6000_framedata fdata;
struct frame_info *frame = get_current_frame ();
- int addr, ii, wordsize;
+ int ii, wordsize;
pc = read_pc ();
sp = FRAME_FP (frame);