aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-19 12:08:23 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-19 12:08:23 +0000
commit5f1c39efa244145447808660b9bd8119cfc956c6 (patch)
tree1e1d82969deab6fa3cafe0ba38949d2278cdab8c /gdb/rs6000-tdep.c
parentf7fe7196c28e49766eac16900d46db1d969bdb2a (diff)
downloadgdb-5f1c39efa244145447808660b9bd8119cfc956c6.zip
gdb-5f1c39efa244145447808660b9bd8119cfc956c6.tar.gz
gdb-5f1c39efa244145447808660b9bd8119cfc956c6.tar.bz2
* rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replace
calls to {fetch|store}_inferior_registers with calls to target_{fetch|store}_registers, for remote-target independence.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index edae708..327dc75 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -320,7 +320,7 @@ push_dummy_frame ()
int sp, pc; /* stack pointer and link register */
int ii;
- fetch_inferior_registers (-1);
+ target_fetch_registers (-1);
if (dummy_frame_count >= dummy_frame_size) {
dummy_frame_size += DUMMY_FRAME_ADDR_SIZE;
@@ -432,7 +432,7 @@ pop_dummy_frame ()
/* Now we can restore all registers. */
- store_inferior_registers (-1);
+ target_store_registers (-1);
pc = read_pc ();
flush_cached_frames ();
set_current_frame (create_new_frame (sp, pc));
@@ -489,7 +489,7 @@ pop_frame ()
}
write_register (SP_REGNUM, prev_sp);
- store_inferior_registers (-1);
+ target_store_registers (-1);
flush_cached_frames ();
set_current_frame (create_new_frame (prev_sp, lr));
}
@@ -813,7 +813,7 @@ ran_out_of_registers_for_arguments:
write_memory (sp, &saved_sp, 4); /* set back chain properly */
- store_inferior_registers (-1);
+ target_store_registers (-1);
return sp;
}