aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentf7fe7196c28e49766eac16900d46db1d969bdb2a (diff)
downloadfsf-binutils-gdb-5f1c39efa244145447808660b9bd8119cfc956c6.zip
fsf-binutils-gdb-5f1c39efa244145447808660b9bd8119cfc956c6.tar.gz
fsf-binutils-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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/rs6000-tdep.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5592450..325670f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -8,6 +8,10 @@ Wed Sep 16 22:31:55 1992 K. Richard Pixley (rich@sendai.cygnus.com)
* remote-udi.c (udi_attach): change printf to error to prevent
fallthrough bug.
+ * 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.
+
Sat Sep 19 04:23:54 1992 John Gilmore (gnu@cygnus.com)
* Makefile.in: Fix bug I introduced in merging Rich's change.
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;
}