projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b7d7d
)
Fixed POP_FRAME so that 'return' command works properly.
author
Zdenek Radouch
<radouch@cygnus>
Thu, 24 Dec 1998 03:09:43 +0000
(
03:09
+0000)
committer
Zdenek Radouch
<radouch@cygnus>
Thu, 24 Dec 1998 03:09:43 +0000
(
03:09
+0000)
gdb/fr30-tdep.c
patch
|
blob
|
history
diff --git
a/gdb/fr30-tdep.c
b/gdb/fr30-tdep.c
index bfc7bb32e678c3f8df24b2a9a99871d624753870..c6d257f72c6162d355db974b123ebb589029882f 100644
(file)
--- a/
gdb/fr30-tdep.c
+++ b/
gdb/fr30-tdep.c
@@
-56,7
+56,7
@@
fr30_pop_frame ()
read_memory_unsigned_integer (frame->fsr.regs[regnum],
REGISTER_RAW_SIZE(regnum)));
- write_register (SP_REGNUM,
FRAME_FP (frame
));
+ write_register (SP_REGNUM,
read_register (frame->framereg
));
}
flush_cached_frames ();
@@
-604,7
+604,6
@@
fr30_push_return_address (pc, sp)
CORE_ADDR pc;
CORE_ADDR sp;
{
-T("fr30_push_return_address", CALL_DUMMY_ADDRESS ());
write_register (RP_REGNUM, CALL_DUMMY_ADDRESS ());
return sp;
}