* sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
(sparc_store_inferior_registers): Likewise. * sparc-nat.c (fetch_inferior_registers): Rename to ... (sparc_fetch_inferior_registers): ... this. (store_inferior_registers): Rename to ... (sparc_store_inferior_registers): ... this. (sparc_target): Update callback names. * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
This commit is contained in:
parent
6d8fd2b7b1
commit
6f7a27d555
5 changed files with 23 additions and 8 deletions
|
@ -83,8 +83,8 @@ _initialize_sparc64_linux_nat (void)
|
|||
t = linux_target ();
|
||||
|
||||
/* Add our register access methods. */
|
||||
t->to_fetch_registers = fetch_inferior_registers;
|
||||
t->to_store_registers = store_inferior_registers;
|
||||
t->to_fetch_registers = sparc_fetch_inferior_registers;
|
||||
t->to_store_registers = sparc_store_inferior_registers;
|
||||
|
||||
/* Register the target. */
|
||||
linux_nat_add_target (t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue