diff options
author | Paul Brook <paul@codesourcery.com> | 2005-03-30 16:21:33 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-03-30 16:21:33 +0000 |
commit | 74ec5579b91e2275ecb67a8c91311506f6b8bd32 (patch) | |
tree | 59c2f52013ef4a7f62439020779f749da5f08624 /sim | |
parent | 2005-02-28 Paolo Bonzini <bonzini@gnu.org> (diff) | |
download | binutils-gdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.tar.gz binutils-gdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.tar.bz2 binutils-gdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.zip |
2005-03-30 Paul Brook <paul@codesourcery.com>
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ChangeLog | 4 | ||||
-rw-r--r-- | sim/arm/wrapper.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 6837a6adb6f..e3c230ed98c 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,7 @@ +2005-03-30 Paul Brook <paul@codesourcery.com> + + * arm/wrapper.c: Provide SIGTRAP and SIGBUS. + 2005-03-24 Hans-Peter Nilsson <hp@axis.com> * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to 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; |