aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-03-30 16:08:43 +0000
committerPaul Brook <paul@codesourcery.com>2005-03-30 16:08:43 +0000
commit07cad7529f22fea2a346bfa58ef7504cd9a27e9f (patch)
tree98e6db40d59e4f821e14b4c4a94c2fc10a3e47a3
parent2c0f1e706145cd2408654c5a0ef3217c02108d97 (diff)
downloadbinutils-07cad7529f22fea2a346bfa58ef7504cd9a27e9f.zip
binutils-07cad7529f22fea2a346bfa58ef7504cd9a27e9f.tar.gz
binutils-07cad7529f22fea2a346bfa58ef7504cd9a27e9f.tar.bz2
2005-03-30 Paul Brook <paul@codesourcery.com>gdb-csl-arm-20050325-2005-q1a
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
-rw-r--r--ChangeLog.csl4
-rw-r--r--sim/arm/wrapper.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 2d493e7..115621d 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,7 @@
+2005-03-30 Paul Brook <paul@codesourcery.com>
+
+ * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
+
2005-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb/Makefile.in (arm-linux-nat.o): Update dependencies.
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;