2003-04-09 Andrew Cagney <cagney@redhat.com>

* frame.c (get_frame_id): Eliminate code updating "frame".
	(legacy_get_prev_frame): Ditto.
	(get_frame_base): Return id.base directly.
	(deprecated_update_frame_base_hack): Update "id.base".
	* frame.h (struct frame_info): Delete field "frame".
This commit is contained in:
Andrew Cagney
2003-04-09 18:24:01 +00:00
parent 7dfb07f7c2
commit 90a6fffbda
3 changed files with 11 additions and 24 deletions

View File

@@ -337,12 +337,6 @@ extern void frame_pop (struct frame_info *frame);
struct frame_info
{
/* Nominal address of the frame described. See comments at
get_frame_base() about what this means outside the *FRAME*
macros; in the *FRAME* macros, it can mean whatever makes most
sense for this machine. */
CORE_ADDR frame;
/* Address at which execution is occurring in this frame.
For the innermost frame, it's the current pc.
For other frames, it is a pc saved in the next frame. */