* i386fbsd-tdep.c: New file.
authorMark Kettenis <kettenis@gnu.org>
Sat, 11 Oct 2003 15:22:39 +0000 (15:22 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 11 Oct 2003 15:22:39 +0000 (15:22 +0000)
commit8a96bc77ca647909a8382ae295997bdb7efc63da
treed6274c3ef81529fb703b4967fbf0db3f831f43e0
parent477f40d1aef74d9b120920517f90663e4c173cf2
* i386fbsd-tdep.c: New file.
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.  Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.  Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES):  Add i386fbsd-tdep.o.
gdb/ChangeLog
gdb/Makefile.in
gdb/config/i386/fbsd.mt
gdb/config/i386/fbsd64.mt
gdb/i386bsd-tdep.c
gdb/i386fbsd-tdep.c [new file with mode: 0644]