aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/fbsd.mt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-10-11 15:22:39 +0000
committerMark Kettenis <kettenis@gnu.org>2003-10-11 15:22:39 +0000
commit8a96bc77ca647909a8382ae295997bdb7efc63da (patch)
treed6274c3ef81529fb703b4967fbf0db3f831f43e0 /gdb/config/i386/fbsd.mt
parent477f40d1aef74d9b120920517f90663e4c173cf2 (diff)
downloadgdb-8a96bc77ca647909a8382ae295997bdb7efc63da.zip
gdb-8a96bc77ca647909a8382ae295997bdb7efc63da.tar.gz
gdb-8a96bc77ca647909a8382ae295997bdb7efc63da.tar.bz2
* 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.
Diffstat (limited to 'gdb/config/i386/fbsd.mt')
-rw-r--r--gdb/config/i386/fbsd.mt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/i386/fbsd.mt b/gdb/config/i386/fbsd.mt
index 7a95e00..e339393 100644
--- a/gdb/config/i386/fbsd.mt
+++ b/gdb/config/i386/fbsd.mt
@@ -1,3 +1,3 @@
# Target: Intel 386 running FreeBSD
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o
+TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o
TM_FILE= tm-fbsd.h