aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-24 19:48:13 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-24 19:48:13 +0000
commitc193f6ac9cadbfcaf4bae1a46d01b6c2a4f66bb4 (patch)
tree94e43a5b7c11851202f9ea9b4f725dd041f7b7a8 /gdb/infcmd.c
parente5d2af146b35918deacdec7270a9e6890410e1a5 (diff)
downloadgdb-c193f6ac9cadbfcaf4bae1a46d01b6c2a4f66bb4.zip
gdb-c193f6ac9cadbfcaf4bae1a46d01b6c2a4f66bb4.tar.gz
gdb-c193f6ac9cadbfcaf4bae1a46d01b6c2a4f66bb4.tar.bz2
2002-11-19 Andrew Cagney <ac131313@redhat.com>
* frame.h (FRAME_FP): Delete macro. (get_frame_base): New function declaration. * frame.c (get_frame_base): New function. (get_frame_id): Use ->frame. (frame_find_by_id): Rewrite to use get_frame_id. * blockframe.c: Use get_frame_base instead of FRAME_FP. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 2556221..65995d3 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -618,7 +618,7 @@ step_1 (int skip_subroutines, int single_inst, char *count_string)
frame = get_current_frame ();
if (!frame) /* Avoid coredump here. Why tho? */
error ("No current frame");
- step_frame_address = FRAME_FP (frame);
+ step_frame_address = get_frame_base (frame);
step_sp = read_sp ();
if (!single_inst)
@@ -733,7 +733,7 @@ step_once (int skip_subroutines, int single_inst, int count)
frame = get_current_frame ();
if (!frame) /* Avoid coredump here. Why tho? */
error ("No current frame");
- step_frame_address = FRAME_FP (frame);
+ step_frame_address = get_frame_base (frame);
step_sp = read_sp ();
if (!single_inst)
@@ -1096,7 +1096,7 @@ until_next_command (int from_tty)
}
step_over_calls = STEP_OVER_ALL;
- step_frame_address = FRAME_FP (frame);
+ step_frame_address = get_frame_base (frame);
step_sp = read_sp ();
step_multi = 0; /* Only one call to proceed */