mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-09 17:33:24 +08:00
* 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:
@ -223,9 +223,9 @@ examine_prologue (ip, limit, after_prolog_fp, fsr, fi)
|
|||||||
|
|
||||||
unsigned int auto_depth = 0; /* Number of bytes of autos */
|
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++)
|
for (r = 0; r < 8; r++)
|
||||||
{
|
{
|
||||||
fsr->regs[r] = 0;
|
fsr->regs[r] = 0;
|
||||||
|
@ -27,3 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#define LSEEK_NOT_LINEAR
|
#define LSEEK_NOT_LINEAR
|
||||||
|
|
||||||
#define CANT_FORK
|
#define CANT_FORK
|
||||||
|
|
||||||
|
#undef QUIT
|
||||||
|
#define QUIT { pollquit(); }
|
||||||
|
Reference in New Issue
Block a user