summaryrefslogtreecommitdiff
path: root/gdb/shnbsd-nat.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-05-11 19:30:27 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-05-11 19:30:27 +0000
commit1929cda9fbdd5f60c846cc707a6963799a67ec27 (patch)
tree4c516d6b126a0a6a9d6cd79b7b0fdd9e01c30046 /gdb/shnbsd-nat.c
parenteca92b7ea490db10c1d90a0e9fef2ad3a797891d (diff)
downloadgdb-1929cda9fbdd5f60c846cc707a6963799a67ec27.tar.gz
* shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg.
(store_inferior_registers): Use shnbsd_fill_reg. * shnbsd-tdep.c (sh_nbsd_supply_registers, sh_nbsd_supply_register): Collapse into... (shnbsd_supply_reg): ...this. (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... (shnbsd_fill_reg): ...this. (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. (fetch_core_registers): Use shnbsd_supply_reg. (fetch_elfcore_registers): Use shnbsd_supply_reg. (sh_nbsd_core_fns): Rename to... (shnbsd_core_fns): ...this. (sh_nbsd_elfcore_fns): Rename to... (shnbsd_elfcore_fns): ...this. (sh_nbsd_init_abi): Rename to... (shnbsd_init_abi): ...this. (_initialize_sh_nbsd_tdep): Rename to... (_initialize_shnbsd_tdep): ...this. * shnbsd-tdep.h (sh_nbsd_supply_registers, sh_nbsd_supply_register, sh_nbsd_fill_registers, sh_nbsd_fill_register): Remove prototypes. (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes.
Diffstat (limited to 'gdb/shnbsd-nat.c')
-rw-r--r--gdb/shnbsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/shnbsd-nat.c b/gdb/shnbsd-nat.c
index 0367fde1a8f..e1b56e66405 100644
--- a/gdb/shnbsd-nat.c
+++ b/gdb/shnbsd-nat.c
@@ -46,7 +46,7 @@ fetch_inferior_registers (int regno)
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)
perror_with_name ("Couldn't get registers");
- sh_nbsd_supply_register ((char *) &inferior_registers, regno);
+ shnbsd_supply_reg ((char *) &inferior_registers, regno);
if (regno != -1)
return;
@@ -64,7 +64,7 @@ store_inferior_registers (int regno)
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)
perror_with_name ("Couldn't get registers");
- sh_nbsd_fill_register ((char *) &inferior_registers, regno);
+ shnbsd_fill_reg ((char *) &inferior_registers, regno);
if (ptrace (PT_SETREGS, PIDGET (inferior_ptid),
(PTRACE_ARG3_TYPE) &inferior_registers, 0) == -1)