From 1929cda9fbdd5f60c846cc707a6963799a67ec27 Mon Sep 17 00:00:00 2001 From: Jason Thorpe Date: Sat, 11 May 2002 19:30:27 +0000 Subject: * 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. --- gdb/shnbsd-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/shnbsd-nat.c') 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) -- cgit v1.2.1