From: Paul Brook Date: Wed, 30 Mar 2005 16:08:43 +0000 (+0000) Subject: 2005-03-30 Paul Brook X-Git-Tag: gdb-csl-arm-20050325-2005-q1a X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07cad7529f22fea2a346bfa58ef7504cd9a27e9f;p=thirdparty%2Fbinutils-gdb.git 2005-03-30 Paul Brook * arm/wrapper.c: Provide SIGTRAP and SIGBUS. --- 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;