2002-12-18 Andrew Cagney <ac131313@redhat.com>

* frame.c (deprecated_update_current_frame_pc_hack): Replace
	deprecated_update_current_frame_pc_hack.
	(deprecated_update_frame_base_hack): New function.
	* frame.h (deprecated_update_frame_pc_hack): Replace
	(deprecated_update_frame_base_hack): Declare.
	* infrun.c (normal_stop): Update.
This commit is contained in:
Andrew Cagney
2002-12-18 18:03:42 +00:00
parent 0bc4911d08
commit 2f1071075b
4 changed files with 30 additions and 9 deletions

View File

@@ -2985,7 +2985,7 @@ normal_stop (void)
DECR_PC_AFTER_BREAK, the program counter can change. Ask the
frame code to check for this and sort out any resultant mess.
DECR_PC_AFTER_BREAK needs to just go away. */
deprecated_update_current_frame_pc_hack (read_pc ());
deprecated_update_frame_pc_hack (get_current_frame (), read_pc ());
if (target_has_execution && breakpoints_inserted)
{