2005-03-30 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Wed, 30 Mar 2005 16:21:33 +0000 (16:21 +0000)
committerPaul Brook <paul@codesourcery.com>
Wed, 30 Mar 2005 16:21:33 +0000 (16:21 +0000)
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.

sim/ChangeLog
sim/arm/wrapper.c

index 6837a6a..e3c230e 100644 (file)
@@ -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
index bba6f7f..70cfd1e 100644 (file)
 #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;