summaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-09 01:40:25 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-09 01:40:25 +0000
commitfdbcefcef6e3d13387818ee319fe6ef0071c7f60 (patch)
tree6cbb59eb4e6573aace3d195966113cf0b84d6f2d /gdb/dummy-frame.c
parent0e518a5ab19f116cd1253e14e924dc7c5fa1e199 (diff)
downloadgdb-fdbcefcef6e3d13387818ee319fe6ef0071c7f60.tar.gz
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* blockframe.c: Use get_frame_base instead of directly accessing the `struct frame_info' member frame. * f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto. * stack.c, dummy-frame.c, breakpoint.c: Ditto.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 1f29859f09e..727d5084993 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -106,7 +106,7 @@ struct dummy_frame *
cached_find_dummy_frame (struct frame_info *frame, void **cache)
{
if ((*cache) == NULL)
- (*cache) = find_dummy_frame (frame->pc, frame->frame);
+ (*cache) = find_dummy_frame (frame->pc, get_frame_base (frame));
return (*cache);
}
@@ -207,7 +207,7 @@ void
generic_push_dummy_frame (void)
{
struct dummy_frame *dummy_frame;
- CORE_ADDR fp = (get_current_frame ())->frame;
+ CORE_ADDR fp = get_frame_base (get_current_frame ());
/* check to see if there are stale dummy frames,
perhaps left over from when a longjump took us out of a