From 4ce149f9700444f6ead6e3892d9806141afb08cd Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 17 Jun 1993 22:23:40 +0000 Subject: [PATCH] Alpha host support. --- gdb/config/alpha/.Sanitize | 1 + gdb/config/alpha/xm-alpha.h | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 gdb/config/alpha/xm-alpha.h diff --git a/gdb/config/alpha/.Sanitize b/gdb/config/alpha/.Sanitize index 1d64d972697..074b08e8ef3 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 00000000000..64bde040616 --- /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 -- 2.30.2