Commit Graph

3 Commits

Author SHA1 Message Date
Mark Kettenis 97a5b208dc Fix gdb/1216.
* shnbsd-nat.c: Include "sh-tdep.h".
2003-06-01 12:31:26 +00:00
Jason Thorpe 20cb8cdaf3 * 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.
2002-05-11 19:30:27 +00:00
Jason Thorpe 4015edd13a * sh-nbsd-nat.c: Rename to...
* shnbsd-nat.c: ...this.
* sh-nbsd-tdep.c: Rename to...
* shnbsd-tdep.c: ...this.
* sh-nbsd-tdep.h: Rename to...
* shnbsd-tdep.h: ...this.
* config/sh/nbsd.mh: Use shnbsd-nat.o.
* config/sh/nbsd.mt: Use shnbsd-tdep.o.
2002-05-08 16:18:41 +00:00