From d0a557723ac537e04c5be236aada4b6db0bf6ab5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 10 Apr 2003 03:30:36 +0000 Subject: 2003-04-09 Andrew Cagney * 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. --- gdb/dummy-frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/dummy-frame.c') 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 = -- cgit v1.1