From 07cad7529f22fea2a346bfa58ef7504cd9a27e9f Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Wed, 30 Mar 2005 16:08:43 +0000 Subject: [PATCH] 2005-03-30 Paul Brook * arm/wrapper.c: Provide SIGTRAP and SIGBUS. --- ChangeLog.csl | 4 ++++ sim/arm/wrapper.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog.csl b/ChangeLog.csl index 2d493e7fa29..115621dd069 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,7 @@ +2005-03-30 Paul Brook + + * arm/wrapper.c: Provide SIGTRAP and SIGBUS. + 2005-03-30 Daniel Jacobowitz * gdb/Makefile.in (arm-linux-nat.o): Update dependencies. diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index bba6f7fd444..70cfd1e9dd2 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -38,6 +38,14 @@ #include "run-sim.h" #include "gdb/sim-arm.h" +#ifndef SIGTRAP +#define SIGTRAP 5 +#endif + +#ifndef SIGBUS +#define SIGBUS SIGSEGV +#endif + host_callback *sim_callback; static struct ARMul_State *state; -- 2.47.3