aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/sim-main.h
diff options
context:
space:
mode:
authorFelix Lee <flee@cygnus>1997-09-17 23:46:49 +0000
committerFelix Lee <flee@cygnus>1997-09-17 23:46:49 +0000
commit2001e533ffd6a46548cf3bf192e57649aebe8c1b (patch)
tree791afb8f81ef7577282c0371a8305aab51c61126 /sim/tic80/sim-main.h
parent2e6fa283b4cb701a78f1b5a9b9c39db7ae025e57 (diff)
downloadgdb-2001e533ffd6a46548cf3bf192e57649aebe8c1b.zip
gdb-2001e533ffd6a46548cf3bf192e57649aebe8c1b.tar.gz
gdb-2001e533ffd6a46548cf3bf192e57649aebe8c1b.tar.bz2
* sim-main.h (kill): macro was missing args.
(SIGTRAP): define for MSVC.
Diffstat (limited to 'sim/tic80/sim-main.h')
-rw-r--r--sim/tic80/sim-main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h
index 4387227..8b4c930 100644
--- a/sim/tic80/sim-main.h
+++ b/sim/tic80/sim-main.h
@@ -71,6 +71,10 @@ extern void engine_init
#endif
#ifndef HAVE_KILL
-#define kill() (errno = EINVAL, -1)
+#define kill(sig, pid) (errno = EINVAL, -1)
#endif
#endif
+
+#ifndef SIGTRAP
+# define SIGTRAP 5
+#endif