Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Cagney 3f3db24856 2004-10-01 Andrew Cagney <cagney@gnu.org>
* Makefile.in (COMMON_OBS): Add inf-child.o.
	* config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o.
	* config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o.
	* config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o.
	* config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o.
	* config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o.
	* config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o.
2004-10-01 17:26:14 +00:00
Mark Kettenis 2f604c289b * config/i386/fbsd64.mh, config/i386/nbsd64.mh,
config/i386/obsd64.mh (NAT_FILE): Remove variable.
2004-09-27 18:46:05 +00:00
Mark Kettenis 3691b3bece * config/i386/nm-fbsd64.h: Remove file.
* config/i386/fbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-09-26 19:41:21 +00:00
Mark Kettenis 6a5c78a350 * amd64-nat.h: Update copyright year.
(amd64bsd_target): New prototype.
* amd64bsd-nat.c: Include "target.h" and "inf-ptrace.h".
(amd64bsd_target): New function.
(amd64bsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(amd64bsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
* amd64fbsd-nat.c: Include "target.h" and "fbsd-nat.h".
(_initialize_amd64fbsd_nat): Construct and add target vector.
* amd64nbsd-nat.o: Include "target.h".
(_initialize_amd64nbsd_nat): Construct and add target vector.
* amd64obsd-nat.c: Include "target.h".
(_initialize_amd64obsd_nat): Construct and add target vector.
* config/i386/nm-fbsd64.h (CHILD_PID_TO_EXEC_FILE): Remove define.
* config/i386/fbsd64.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o and fbsd-proc.o.  Add inf-child.o, inf-ptrace.o and
fbsd-nat.o.
* config/i386/nbsd64.mh, config/i386/obsd64.mh (NATDEPFILES):
Remove infptrace.o and inftarg.o.  Add inf-child.o and
inf-ptrace.o.
* Makefile.in (amd64bsd-nat.o, amd64fbsd-nat.o, amd64nbsd-nat.o)
(amd64obsd-nat.o): Update dependencies.
2004-09-26 18:42:30 +00:00
Andrew Cagney 62eceb47dd 2004-07-29 Andrew Cagney <cagney@gnu.org>
* config/m68k/xm-m68k.h: Delete file.
	* config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h".  Update
	copyright.
	(HOST_LONG_DOUBLE_FORMAT): Delete macro.
	* config/pa/xm-linux.h: Delete empty file.
	* config/pa/linux.mh (XM_FILE): Delete.
	* config/i386/xm-i386.h: Delete empty file.
	* config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include
	"i386/xm-i386.h".
	* config/i386/obsdaout.mh (XM_FILE): Delete.
	* config/i386/obsd64.mh (XM_FILE): Delete.
	* config/i386/fbsd64.mh (XM_FILE): Delete.
	* config/i386/nto.mh (XM_FILE): Delete.
	* config/i386/obsd.mh (XM_FILE): Delete.
	* config/i386/linux64.mh (XM_FILE): Delete.
	* config/i386/linux.mh (XM_FILE): Delete.
	* config/i386/i386sol2.mh (XM_FILE): Delete.
	* config/i386/i386gnu.mh (XM_FILE): Delete.
	* config/i386/fbsd.mh (XM_FILE): Delete.
	* config/i386/nbsd64.mh (XM_FILE): Delete.
2004-07-29 20:04:21 +00:00
Mark Kettenis 8010310edb * config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-06-27 15:59:25 +00:00
Mark Kettenis 7e654c3761 * amd64fbsd-tdep.c: Include "solib-svr4.h".
(amd64fbsd_init_abi): Set link map offsets.
* amd64nbsd-tdep.c: Include "slib-svr4.h".
(amd64nbsd_init_abi): Set link map offsets.
* amd64obsd-tdep.c: Include "solib-svr4.h".
(amd64obsd_init_abi): Set link map offsets.
* i386fbsd-tdep.c: Include "solib-svr4.h".
(i386fbsd_init_abi): Set link map offsets.
* i386nbsd-tdep.c: Include "solib-svr4.h".
(i386nbsdelf_init_abi): Set link map offsets.
* Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
(amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
* config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
solib-legacy.o and core-aout.o. Reformat.
* config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o.  Reformat.
* config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o.  Reformat.
* config/i386/nbsdelf.mh: Reformat.
* config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.
* config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
* config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.  Reformat.
* config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
* config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
(TM_FILE): Set to tm-fbsd.h.
* config/i386/nbsd.mt (TDEPFILES): Reformat.
* config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
* config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
(TM_FILE): Set to nm-nbsd.h.
* config/i386/nm-fbsd.h: Update copyright year.  Tweak comments.
Simplify shared library support.  Don't include "elf/common.h".
(SVR4_SHARED_LIBS): Don't define.
* config/i386/nm-fbsd64.h: Update copyright year.  Don't include
"solib.h".
* config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
config/i386/nm-obsd.h: Update copyright year.  Tweak comments.
* config/i386/tm-fbsd.h: Update copyright tear.  Tweak comments.
Don't include "i386/tm-i386.h".  Include "solib.h".
* config/i386/tm-nbsd.h: Update copyright year.  Tweak comments.
Don't include "i386/tm-i386.h".
* config/i386/xm-i386.h: Update copyright year.  Tweak comments.
* config/i386/xm-nbsd.h: Update copyright year.  Tweak comments.
Include "i386/xm-i386.h".
(HOST_LONG_DOUBLE_FORMAT): Remove.
2004-02-22 16:20:22 +00:00
Mark Kettenis da285bc432 * config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-30 19:41:40 +00:00
Mark Kettenis 21ad8dc3de * amd64fbsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Remove functions.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.
2003-10-19 10:39:50 +00:00
Mark Kettenis 2a6d284d76 * amd64-nat.h: New file.
* amd64-nat.c: New file.
* amd64fbsd-nat.c: Include "amd64-nat.h".
(REG_ADDR, GETREGS_SUPPLIES): Remove macros.
(amd64fbsd32_r_reg_offset): New variable.
(supply_gregset): Simply call amd64_supply_native_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Simply call
amd64_collect_native_gregset.
(fill_fpregset): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_supply_native_gregset instead of
supply_gregset.  Call x86_64_supply_fxsave instead of
supply_fpregset.
(store_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_collect_native_gregset instead of
fill_gregset.  Call x86_64_collect_fxsave instead of
fill_fpregset.
(_initialize_am64fbsd_nat): Initialize
amd64_native_gregset32_reg_offset and
amd64_native_gregset64_reg_offset.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
2003-08-29 13:58:26 +00:00
Mark Kettenis 68cc0bfb7d * configure.host: Add x86_64-*-freebsd*.
* configure.tgt: Add x86_64-*-freebsd*.
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
* amd64fbsd-nat.c: New file.
* amd64fbsd-tdep.c: New file.
* config/i386/nm-fbsd64.h: New file.
* config/i386/fbsd64.mh: New file.
* config/i386/fbsd64.mt: New file.
2003-07-13 16:15:59 +00:00