aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-10 03:30:36 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-10 03:30:36 +0000
commitd0a557723ac537e04c5be236aada4b6db0bf6ab5 (patch)
tree08da8ccc4812ba87ae542ff94eff53042a0b4e1a /gdb/dummy-frame.c
parentac16bf075e8f8b82746c2daa5063fec3133e374b (diff)
downloadgdb-d0a557723ac537e04c5be236aada4b6db0bf6ab5.zip
gdb-d0a557723ac537e04c5be236aada4b6db0bf6ab5.tar.gz
gdb-d0a557723ac537e04c5be236aada4b6db0bf6ab5.tar.bz2
2003-04-09 Andrew Cagney <cagney@redhat.com>
* frame.h (struct frame_id): Replace "pc" and "base" with "stack_addr" and "code_addr". Update comments. (frame_id_build): Update parameter names and comment. (struct frame_info): Replace "id_p" and "id" with "this_id". * dummy-frame.c (dummy_frame_this_id): Update. * breakpoint.c (print_one_breakpoint): Update. * frame.c (get_frame_id): Update. (get_frame_base, frame_id_build): Update. (create_sentinel_frame, legacy_get_prev_frame): Update. (deprecated_update_frame_base_hack): Update. (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. (frame_id_inner): Ditto.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 991ee28..a320b7d 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -397,7 +397,8 @@ dummy_frame_this_id (struct frame_info *next_frame,
(*this_id) = null_frame_id;
return;
}
- (*this_prologue_cache) = find_dummy_frame ((*this_id).pc, (*this_id).base);
+ (*this_prologue_cache) = find_dummy_frame ((*this_id).code_addr,
+ (*this_id).stack_addr);
}
static struct frame_unwind dummy_frame_unwind =