summaryrefslogtreecommitdiffstats
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-18 18:03:42 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-18 18:03:42 +0000
commit2f1071075bfd131063329519e606af5571c412e7 (patch)
tree194f26bf71bbb1ba78d88c57287607cbf7643cf6 /gdb/infrun.c
parent0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a (diff)
downloadppe42-binutils-2f1071075bfd131063329519e606af5571c412e7.tar.gz
ppe42-binutils-2f1071075bfd131063329519e606af5571c412e7.zip
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 6a239a50e9..aa404cfcd1 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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)
{
OpenPOWER on IntegriCloud