diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-12-14 01:00:17 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-12-14 01:00:17 +0000 |
commit | a2905ef89ea74a07b7f68a92f700a6e899a3b18a (patch) | |
tree | 8c48905070ade30249b74d8e24f34ec66ee62e46 /gdb/config/m68k | |
parent | 9529275a9119e5572a5c279885e94f6b3fa1690d (diff) | |
download | gdb-a2905ef89ea74a07b7f68a92f700a6e899a3b18a.zip gdb-a2905ef89ea74a07b7f68a92f700a6e899a3b18a.tar.gz gdb-a2905ef89ea74a07b7f68a92f700a6e899a3b18a.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r-- | gdb/config/m68k/.Sanitize | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-mac.h | 20 | ||||
-rw-r--r-- | gdb/config/m68k/xm-mpw.h | 6 |
3 files changed, 27 insertions, 1 deletions
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 |