aboutsummaryrefslogtreecommitdiff
path: root/sim/arm
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-03-30 16:21:33 +0000
committerPaul Brook <paul@codesourcery.com>2005-03-30 16:21:33 +0000
commit74ec5579b91e2275ecb67a8c91311506f6b8bd32 (patch)
tree59c2f52013ef4a7f62439020779f749da5f08624 /sim/arm
parente90269c823e95f30e7ed462694d4e5c95278de6a (diff)
downloadgdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.zip
gdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.tar.gz
gdb-74ec5579b91e2275ecb67a8c91311506f6b8bd32.tar.bz2
2005-03-30 Paul Brook <paul@codesourcery.com>
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
Diffstat (limited to 'sim/arm')
-rw-r--r--sim/arm/wrapper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index bba6f7f..70cfd1e 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;