diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-05-11 19:30:27 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-05-11 19:30:27 +0000 |
commit | 20cb8cdaf385a9bc67b63e015241d36b93289438 (patch) | |
tree | a56293be5d99d653999ce7897be35348acbc5641 /gdb/shnbsd-nat.c | |
parent | e750d25e90a8c29ecc1bc063473ce657af0996dc (diff) | |
download | gdb-20cb8cdaf385a9bc67b63e015241d36b93289438.zip gdb-20cb8cdaf385a9bc67b63e015241d36b93289438.tar.gz gdb-20cb8cdaf385a9bc67b63e015241d36b93289438.tar.bz2 |
* 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/shnbsd-nat.c b/gdb/shnbsd-nat.c index 0367fde..e1b56e6 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) |