5fe932391d
don't create or use fork if CANT_FORK is defined. * serial.h, ser-go32.c: now compiles, but "the obvious problems of code written for the IBM PC" remain. * xm-go32.h: define CANT_FORK
30 lines
1001 B
C
30 lines
1001 B
C
/* Definitions for hosting on GO32, for GDB.
|
|
Copyright 1991, 1992 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. */
|
|
|
|
#undef EIO
|
|
#define EIO 0
|
|
#define SYS_SIGLIST_MISSING 1
|
|
#define HOST_BYTE_ORDER LITTLE_ENDIAN
|
|
#include "fopen-bin.h"
|
|
|
|
/* Define this lseek(n) != nth byte of file */
|
|
#define LSEEK_NOT_LINEAR
|
|
|
|
#define CANT_FORK
|