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 6837a6adb6ff0cadc1ab73d5a12c1667fee7bed8..e3c230ed98c32a6ff23c178a6975d82afbc9f060 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 bba6f7fd444b6babec8254861921268b371305aa..70cfd1e9dd2c1877b659374c27749cae6887aaf6 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;