darling-gdb/gdb/xm-go32.h
Steve Chamberlain ddf30c373c * utils.c (quit): If using go32, still call error when quit seen.
(pollquit): New function to poll keyboard for user interrupt,
	called from QUIT.
	* xm-go32.h (QUIT): Define to call pollquit.
	* h8300-tdep.c (examine_prologue): Use correct value for number of
	registers.
1993-03-09 01:56:53 +00:00

33 lines
1.0 KiB
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
#undef QUIT
#define QUIT { pollquit(); }