| 1 | /* Macro defintions for i386, running SCO Unix System V/386 3.2. |
| 2 | Copyright (C) 1989 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of GDB. |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 2 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 19 | |
| 20 | #include "xm-i386v.h" |
| 21 | |
| 22 | /* Apparently there is inconsistency among various System V's about what |
| 23 | the name of this field is. */ |
| 24 | #define U_FPSTATE(u) u.u_fps.u_fpstate |
| 25 | |
| 26 | /* TIOCGETC is defined in System V 3.2 termio.h, but struct tchars |
| 27 | is not. This makes problems for inflow.c. */ |
| 28 | #define TIOCGETC_BROKEN |
| 29 | |
| 30 | /* All the job control definitions exist in SCO Unix, but the standard |
| 31 | shells don't use them. So we must disable job control. */ |
| 32 | /* This is no longer true with 3.2v2 and later */ |
| 33 | /* #define NO_JOB_CONTROL */ |
| 34 | |
| 35 | /* SCO's assembler doesn't grok dollar signs in identifiers. |
| 36 | So we use dots instead. This item must be coordinated with G++. */ |
| 37 | #undef CPLUS_MARKER |
| 38 | #define CPLUS_MARKER '.' |
| 39 | #define HAVE_STRSTR |
| 40 | |
| 41 | /* Use setpgid instead of setpgrp on SCO */ |
| 42 | #define NEED_POSIX_SETPGID |