aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-08-25 00:54:50 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-08-25 00:54:50 +0000
commit74d319e092340980371a44da38e7172fc88c6fd7 (patch)
tree2ea4f32c26243a5eb8d051fd8c0db3d88e12fa42 /gdb/config
parent20ae2fb83227cc0f5c161cd6c3afcabeb5b51dbd (diff)
downloadgdb-74d319e092340980371a44da38e7172fc88c6fd7.zip
gdb-74d319e092340980371a44da38e7172fc88c6fd7.tar.gz
gdb-74d319e092340980371a44da38e7172fc88c6fd7.tar.bz2
* config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/.Sanitize1
-rw-r--r--gdb/config/xm-nbsd.h37
2 files changed, 38 insertions, 0 deletions
diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize
index 8788c2a..b0958a3 100644
--- a/gdb/config/.Sanitize
+++ b/gdb/config/.Sanitize
@@ -53,6 +53,7 @@ tm-sunos.h
tm-sysv4.h
vax
xm-lynx.h
+xm-nbsd.h
xm-sysv4.h
z8k
diff --git a/gdb/config/xm-nbsd.h b/gdb/config/xm-nbsd.h
new file mode 100644
index 0000000..a0e2e84
--- /dev/null
+++ b/gdb/config/xm-nbsd.h
@@ -0,0 +1,37 @@
+/* Host-dependent definitions for any CPU running NetBSD.
+ Copyright 1993, 1994 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+/* for INT_MIN, to avoid "INT_MIN redefined" warnings from defs.h */
+#include <limits.h>
+
+#include <machine/endian.h>
+#ifdef BYTE_ORDER == BIG_ENDIAN
+#define HOST_BYTE_ORDER BIG_ENDIAN
+#else
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+#endif
+
+/* NetBSD has termios facilities. */
+#define HAVE_TERMIOS
+
+/* psignal() is in <signal.h>. */
+#define PSIGNAL_IN_SIGNAL_H
+
+/* Get rid of any system-imposed stack limit if possible. */
+#define SET_STACK_LIMIT_HUGE