From: Stan Shebs Date: Wed, 14 Dec 1994 01:00:17 +0000 (+0000) Subject: * config/m68k/xm-mpw.h (spin.h): Include. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a2905ef89ea74a07b7f68a92f700a6e899a3b18a;p=deliverable%2Fbinutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog.mpw b/gdb/ChangeLog.mpw index 16119b48af..0116cf3345 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 e713eb7d95..4341d19d4c 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 0000000000..7ff87b3464 --- /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 c2485f8523..0aae62dbb1 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