aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/alpha
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-06-17 22:23:40 +0000
committerSteve Chamberlain <sac@cygnus>1993-06-17 22:23:40 +0000
commit4ce149f9700444f6ead6e3892d9806141afb08cd (patch)
tree77421088d9972c5b088bd17c2a3d276f7921fa6b /gdb/config/alpha
parent7ccb1e4401c7746a72294725c4e738ea2526009e (diff)
downloadgdb-4ce149f9700444f6ead6e3892d9806141afb08cd.zip
gdb-4ce149f9700444f6ead6e3892d9806141afb08cd.tar.gz
gdb-4ce149f9700444f6ead6e3892d9806141afb08cd.tar.bz2
Alpha host support.
Diffstat (limited to 'gdb/config/alpha')
-rw-r--r--gdb/config/alpha/.Sanitize1
-rw-r--r--gdb/config/alpha/xm-alpha.h40
2 files changed, 41 insertions, 0 deletions
diff --git a/gdb/config/alpha/.Sanitize b/gdb/config/alpha/.Sanitize
index 1d64d97..074b08e 100644
--- a/gdb/config/alpha/.Sanitize
+++ b/gdb/config/alpha/.Sanitize
@@ -22,6 +22,7 @@ Do-first:
Things-to-keep:
alpha-osf.mh
+xm-alpha.h
Things-to-lose:
diff --git a/gdb/config/alpha/xm-alpha.h b/gdb/config/alpha/xm-alpha.h
new file mode 100644
index 0000000..64bde04
--- /dev/null
+++ b/gdb/config/alpha/xm-alpha.h
@@ -0,0 +1,40 @@
+/* Definitions to make GDB run on an Alpha box under OSF 1.
+ Copyright (C) 1992 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. */
+
+#if !defined (HOST_BYTE_ORDER)
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+#endif
+
+/* Get rid of any system-imposed stack limit if possible */
+
+#define SET_STACK_LIMIT_HUGE
+
+#define MEM_FNS_DECLARED
+
+#if ! defined (__STDC__) && ! defined (offsetof)
+# define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
+#endif
+
+/*#define MALLOC_INCOMPATIBLE*/
+
+extern void free PARAMS ((void *));
+
+#define NO_SIGINTERRUPT
+
+#define KERNEL_U_ADDR 0