(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.
register struct pic_prologue_code *pcode;
INSN_WORD insn_word;
int size, offset;
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 */
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;
for (r = 0; r < 8; r++)
{
fsr->regs[r] = 0;
#define LSEEK_NOT_LINEAR
#define CANT_FORK
#define LSEEK_NOT_LINEAR
#define CANT_FORK
+
+#undef QUIT
+#define QUIT { pollquit(); }