summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-04-14 15:15:18 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-04-14 15:15:18 +0000
commitcdfb2db5bd372110d0573436166b2cb0249bf597 (patch)
tree824de05e1850d760618d90a63cc7e94a1657affc /sim
parent6cb99862d4b1034e5be993fa1cefab956effb2aa (diff)
downloadgdb-cdfb2db5bd372110d0573436166b2cb0249bf597.tar.gz
2008-04-14 Hans Kester <kester.hans@gmail.com>
* sim-signal.c: Define missing signals for _WIN32.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-signal.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index b929d371316..de70dfe33ee 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-14 Hans Kester <kester.hans@gmail.com>
+
+ * sim-signal.c: Define missing signals for _WIN32.
+
2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
* gennltvals.sh: Add cr16.
diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c
index 757fdf23cf7..9ff56eb5d28 100644
--- a/sim/common/sim-signal.c
+++ b/sim/common/sim-signal.c
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
to not think the process has died (so it can be debugged at the point of
failure). */
-#ifdef _MSC_VER
+#ifdef _WIN32
#ifndef SIGTRAP
#define SIGTRAP 5
#endif