aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-12-20 19:05:28 +0000
committerStu Grossman <grossman@cygnus>1996-12-20 19:05:28 +0000
commitdbeec768398a3b8e1453d05a19ca9cc36f364315 (patch)
tree87c4627fca344d8ed65ea5bc7b0f513dec9c9715
parentb71f8719a0d91752c377d8cf5fa91cd48ad7d425 (diff)
downloadgdb-dbeec768398a3b8e1453d05a19ca9cc36f364315.zip
gdb-dbeec768398a3b8e1453d05a19ca9cc36f364315.tar.gz
gdb-dbeec768398a3b8e1453d05a19ca9cc36f364315.tar.bz2
* support.h: Use _WIN32 instead of __WIN32__. Also add defs for
SIGTRAP and SIGQUIT for _WIN32.
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/mips/support.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 6b76eb9..53b65cb 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com)
+
+ * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
+ SIGTRAP and SIGQUIT for _WIN32.
+
Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com>
* gencode.c (build_instruction) [MUL]: Cast operands to word64, to
diff --git a/sim/mips/support.h b/sim/mips/support.h
index 11f285c..f921e62 100644
--- a/sim/mips/support.h
+++ b/sim/mips/support.h
@@ -30,9 +30,11 @@
architectures if desired. */
/* Control via a build boolean for the moment */
-#if defined(__GNUC__) || defined(__WIN32__)
+#if defined(__GNUC__) || defined(_WIN32)
-#ifdef __WIN32__
+#ifdef _WIN32
+#define SIGTRAP 5
+#define SIGQUIT 3
typedef signed __int64 word64;
typedef unsigned __int64 uword64;
#else