diff options
author | Steve Chamberlain <sac@cygnus> | 1993-03-09 01:56:53 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-03-09 01:56:53 +0000 |
commit | ddf30c373c1b35e89c202917f27178ee5f3f2962 (patch) | |
tree | ea029901ff7ba5dbb0e95a4323319535d8f55f8c /gdb/h8300-tdep.c | |
parent | 5bed532149f8bbaf64dd13d58d1c3e4c71f6c4b3 (diff) | |
download | gdb-ddf30c373c1b35e89c202917f27178ee5f3f2962.zip gdb-ddf30c373c1b35e89c202917f27178ee5f3f2962.tar.gz gdb-ddf30c373c1b35e89c202917f27178ee5f3f2962.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r-- | gdb/h8300-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 62ce3d3..d4341a5 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -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; |