aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-go32.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-03-09 01:56:53 +0000
committerSteve Chamberlain <sac@cygnus>1993-03-09 01:56:53 +0000
commitddf30c373c1b35e89c202917f27178ee5f3f2962 (patch)
treeea029901ff7ba5dbb0e95a4323319535d8f55f8c /gdb/xm-go32.h
parent5bed532149f8bbaf64dd13d58d1c3e4c71f6c4b3 (diff)
downloadgdb-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/xm-go32.h')
-rw-r--r--gdb/xm-go32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/xm-go32.h b/gdb/xm-go32.h
index d8843a8..91f5d35 100644
--- a/gdb/xm-go32.h
+++ b/gdb/xm-go32.h
@@ -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(); }