* 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.
This commit is contained in:
Steve Chamberlain 1993-03-09 01:56:53 +00:00
parent 5bed532149
commit ddf30c373c
2 changed files with 6 additions and 3 deletions

View File

@ -217,15 +217,15 @@ examine_prologue (ip, limit, after_prolog_fp, fsr, fi)
register struct pic_prologue_code *pcode;
INSN_WORD insn_word;
int size, offset;
unsigned int reg_save_depth = 2; /* Number of things pushed onto
unsigned int reg_save_depth = 2; /* Number of things pushed onto
stack, starts at 2, 'cause the
PC is already there */
unsigned int auto_depth = 0; /* Number of bytes of autos */
char in_frame[8]; /* One for each reg */
char in_frame[11]; /* One for each reg */
memset (in_frame, 1, 8);
memset (in_frame, 1, 11);
for (r = 0; r < 8; r++)
{
fsr->regs[r] = 0;

View File

@ -27,3 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LSEEK_NOT_LINEAR
#define CANT_FORK
#undef QUIT
#define QUIT { pollquit(); }