From a2905ef89ea74a07b7f68a92f700a6e899a3b18a Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 14 Dec 1994 01:00:17 +0000 Subject: * config/m68k/xm-mpw.h (spin.h): Include. (ALMOST_STDC): Only define if MPW_C. * config/m68k/tm-mac.h: New file, Mac target definitions. --- gdb/ChangeLog.mpw | 4 ++++ gdb/config/m68k/.Sanitize | 2 +- gdb/config/m68k/tm-mac.h | 20 ++++++++++++++++++++ gdb/config/m68k/xm-mpw.h | 6 ++++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 gdb/config/m68k/tm-mac.h (limited to 'gdb') diff --git a/gdb/ChangeLog.mpw b/gdb/ChangeLog.mpw index 16119b4..0116cf3 100644 --- a/gdb/ChangeLog.mpw +++ b/gdb/ChangeLog.mpw @@ -1,5 +1,9 @@ Tue Dec 13 16:32:09 1994 Stan Shebs + * config/m68k/xm-mpw.h (spin.h): Include. + (ALMOST_STDC): Only define if MPW_C. + * config/m68k/tm-mac.h: New file, Mac target definitions. + * mpw-config.in (m68k-apple-macos, ppc-apple-macos, i386-unknown-aout): New targets. (mk.tmp): Add *DEPFILES definitions. diff --git a/gdb/config/m68k/.Sanitize b/gdb/config/m68k/.Sanitize index e713eb7..4341d19 100644 --- a/gdb/config/m68k/.Sanitize +++ b/gdb/config/m68k/.Sanitize @@ -15,7 +15,7 @@ Do-first: -mpw_files="xm-mpw.h" +mpw_files="xm-mpw.h tm-mac.h" if ( echo $* | grep keep\-mpw > /dev/null ) ; then keep_these_too="${mpw_files}" diff --git a/gdb/config/m68k/tm-mac.h b/gdb/config/m68k/tm-mac.h new file mode 100644 index 0000000..7ff87b3 --- /dev/null +++ b/gdb/config/m68k/tm-mac.h @@ -0,0 +1,20 @@ +/* Target-dependent definitions for Mac running MacOS. + Copyright (C) 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. */ + +#include "m68k/tm-m68k.h" diff --git a/gdb/config/m68k/xm-mpw.h b/gdb/config/m68k/xm-mpw.h index c2485f8..0aae62d 100644 --- a/gdb/config/m68k/xm-mpw.h +++ b/gdb/config/m68k/xm-mpw.h @@ -21,8 +21,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "fopen-bin.h" +#include "spin.h" + #define CANT_FORK +#ifdef MPW_C + /* MPW C is basically ANSI, but doesn't actually enable __STDC__, nor does it allow __STDC__ to be #defined. */ @@ -30,6 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ALMOST_STDC #endif +#endif /* MPW_C */ + #ifdef BFD_TRUE_FALSE #ifndef false #define false mpw_false -- cgit v1.1