* frame.h (set_current_sal_from_frame): New prototype.

* stack.c (set_current_sal_from_frame): Make global.
	* infrun.c (normal_stop): Call set_current_sal_from_frame.
This commit is contained in:
Daniel Jacobowitz 2006-03-30 16:37:13 +00:00
parent 0ec9a092fd
commit 7abfe01489
4 changed files with 19 additions and 3 deletions

View file

@ -300,6 +300,12 @@ extern CORE_ADDR get_frame_func (struct frame_info *fi);
extern void find_frame_sal (struct frame_info *frame,
struct symtab_and_line *sal);
/* Set the current source and line to the location given by frame
FRAME, if possible. When CENTER is true, adjust so the relevant
line is in the center of the next 'list'. */
void set_current_sal_from_frame (struct frame_info *, int);
/* Return the frame base (what ever that is) (DEPRECATED).
Old code was trying to use this single method for two conflicting