Commit | Line | Data |
---|---|---|
d036b4d9 AC |
1 | /* OBSOLETE /* Macro definitions for running GDB on Apple Macintoshes. */ |
2 | /* OBSOLETE Copyright 1994, 1995, 2001 Free Software Foundation, Inc. */ | |
3 | /* OBSOLETE */ | |
4 | /* OBSOLETE This file is part of GDB. */ | |
5 | /* OBSOLETE */ | |
6 | /* OBSOLETE This program is free software; you can redistribute it and/or modify */ | |
7 | /* OBSOLETE it under the terms of the GNU General Public License as published by */ | |
8 | /* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ | |
9 | /* OBSOLETE (at your option) any later version. */ | |
10 | /* OBSOLETE */ | |
11 | /* OBSOLETE This program is distributed in the hope that it will be useful, */ | |
12 | /* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ | |
13 | /* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | |
14 | /* OBSOLETE GNU General Public License for more details. */ | |
15 | /* OBSOLETE */ | |
16 | /* OBSOLETE You should have received a copy of the GNU General Public License */ | |
17 | /* OBSOLETE along with this program; if not, write to the Free Software */ | |
18 | /* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ | |
19 | /* OBSOLETE Boston, MA 02111-1307, USA. */ */ | |
20 | /* OBSOLETE */ | |
21 | /* OBSOLETE #include "mpw.h" */ | |
22 | /* OBSOLETE */ | |
23 | /* OBSOLETE #include "fopen-bin.h" */ | |
24 | /* OBSOLETE */ | |
25 | /* OBSOLETE #include "spin.h" */ | |
26 | /* OBSOLETE */ | |
27 | /* OBSOLETE #define CANT_FORK */ | |
28 | /* OBSOLETE */ | |
29 | /* OBSOLETE /* Map these standard functions to versions that can do I/O in a console */ | |
30 | /* OBSOLETE window. */ */ | |
31 | /* OBSOLETE */ | |
32 | /* OBSOLETE #define printf hacked_printf */ | |
33 | /* OBSOLETE #define fprintf hacked_fprintf */ | |
34 | /* OBSOLETE #define vprintf hacked_vfprintf */ | |
35 | /* OBSOLETE #define fputs hacked_fputs */ | |
36 | /* OBSOLETE #define fputc hacked_fputc */ | |
37 | /* OBSOLETE #undef putc */ | |
38 | /* OBSOLETE #define putc hacked_putc */ | |
39 | /* OBSOLETE #define fflush hacked_fflush */ | |
40 | /* OBSOLETE */ | |
41 | /* OBSOLETE #define fgetc hacked_fgetc */ | |
42 | /* OBSOLETE */ | |
43 | /* OBSOLETE #define POSIX_UTIME */ | |
44 | /* OBSOLETE */ | |
45 | /* OBSOLETE /* '.' indicates drivers on the Mac, so we need a different filename. */ */ | |
46 | /* OBSOLETE */ | |
47 | /* OBSOLETE #define GDBINIT_FILENAME "_gdbinit" */ | |
48 | /* OBSOLETE */ | |
49 | /* OBSOLETE /* Commas are more common to separate dirnames in a path on Macs. */ */ | |
50 | /* OBSOLETE */ | |
51 | /* OBSOLETE #define DIRNAME_SEPARATOR ',' */ | |
52 | /* OBSOLETE */ | |
53 | /* OBSOLETE /* This is a real crufty hack. */ */ | |
54 | /* OBSOLETE */ | |
55 | /* OBSOLETE #define HAVE_TERMIO */ | |
56 | /* OBSOLETE */ | |
57 | /* OBSOLETE /* Addons to the basic MPW-supported signal list. */ */ | |
58 | /* OBSOLETE */ | |
59 | /* OBSOLETE #ifndef SIGQUIT */ | |
60 | /* OBSOLETE #define SIGQUIT (1<<6) */ | |
61 | /* OBSOLETE #endif */ | |
62 | /* OBSOLETE #ifndef SIGHUP */ | |
63 | /* OBSOLETE #define SIGHUP (1<<7) */ | |
64 | /* OBSOLETE #endif */ | |
65 | /* OBSOLETE */ | |
66 | /* OBSOLETE /* If __STDC__ is on, then this definition will be missing. */ */ | |
67 | /* OBSOLETE */ | |
68 | /* OBSOLETE #ifndef fileno */ | |
69 | /* OBSOLETE #define fileno(p) (p)->_file */ | |
70 | /* OBSOLETE #endif */ | |
71 | /* OBSOLETE */ | |
72 | /* OBSOLETE #ifndef R_OK */ | |
73 | /* OBSOLETE #define R_OK 4 */ | |
74 | /* OBSOLETE #endif */ | |
75 | /* OBSOLETE */ | |
76 | /* OBSOLETE extern int StandAlone; */ | |
77 | /* OBSOLETE */ | |
78 | /* OBSOLETE extern int mac_app; */ |