aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-11-01 22:08:44 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-11-01 22:08:44 +0000
commit7a7adcdf1decc4b6ac53b4ad2a0917a158fd0a42 (patch)
tree6f704f992bc523d4b85d96ab06b52b36036ee2ed /gdb/config
parentbdcdd5356991ff19fc0c2500a16d6f792ac9efa3 (diff)
downloadgdb-7a7adcdf1decc4b6ac53b4ad2a0917a158fd0a42.zip
gdb-7a7adcdf1decc4b6ac53b4ad2a0917a158fd0a42.tar.gz
gdb-7a7adcdf1decc4b6ac53b4ad2a0917a158fd0a42.tar.bz2
New interix-specific files:
* config/i386/nm-interix.h: New file. * config/i386/interix.mh: New file. * config/i386/interix.mt: New file. * i386-interix-nat.c: New file. * i386-interix-tdep.c: New file.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/interix.mh9
-rw-r--r--gdb/config/i386/interix.mt3
-rw-r--r--gdb/config/i386/nm-interix.h35
3 files changed, 47 insertions, 0 deletions
diff --git a/gdb/config/i386/interix.mh b/gdb/config/i386/interix.mh
new file mode 100644
index 0000000..23311d6
--- /dev/null
+++ b/gdb/config/i386/interix.mh
@@ -0,0 +1,9 @@
+# Host: Intel 386 running Interix
+XDEPFILES=
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386-interix-nat.o \
+ procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
+NAT_FILE= nm-interix.h
+XM_FILE= xm-interix.h
+# The below may be temporary; mmalloc relies on sbrk() at the moment
+MMALLOC=
+MMALLOC_CFLAGS=-DNO_MMALLOC
diff --git a/gdb/config/i386/interix.mt b/gdb/config/i386/interix.mt
new file mode 100644
index 0000000..8d60962
--- /dev/null
+++ b/gdb/config/i386/interix.mt
@@ -0,0 +1,3 @@
+# Target: Intel 386 running Interix
+TDEPFILES= i386-tdep.o i387-tdep.o i386-interix-tdep.o solib.o solib-pei.o
+TM_FILE= tm-i386.h
diff --git a/gdb/config/i386/nm-interix.h b/gdb/config/i386/nm-interix.h
new file mode 100644
index 0000000..b8b003a
--- /dev/null
+++ b/gdb/config/i386/nm-interix.h
@@ -0,0 +1,35 @@
+/* Native-dependent definitions for Intel 386 running Interix, for GDB.
+ Copyright 1986, 1987, 1989, 1992, 1996 Free Software Foundation, Inc.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#ifndef NM_INTERIX_H
+#define NM_INTERIX_H
+
+/* Be shared lib aware. */
+#include "solib.h"
+
+/* submodes of USE_PROC_FS. */
+#define UNIXWARE
+
+/* It's ALMOST coff; bfd does the same thing. Mostly used in coffread.c. */
+#define COFF_IMAGE_WITH_PE
+
+/* Turn on our own child_pid_to_exec_file. */
+#define CHILD_PID_TO_EXEC_FILE
+
+#endif /* NM_INTERIX_H */