* 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.
This commit is contained in:
parent
f7fe7196c2
commit
5f1c39efa2
2 changed files with 8 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue