* 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:
parent
5bed532149
commit
ddf30c373c
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue