From: Felix Lee Date: Wed, 17 Sep 1997 23:46:49 +0000 (+0000) Subject: * sim-main.h (kill): macro was missing args. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2001e533ffd6a46548cf3bf192e57649aebe8c1b;p=binutils-gdb.git * sim-main.h (kill): macro was missing args. (SIGTRAP): define for MSVC. --- diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog index 5ed09216607..45ddcd9671b 100644 --- a/sim/tic80/ChangeLog +++ b/sim/tic80/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 16 23:10:03 1997 Felix Lee + + * sim-main.h (kill): macro was missing args. + (SIGTRAP): define for MSVC. + Mon Sep 15 17:36:15 1997 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h index 43872273fdf..8b4c930491d 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