diff options
author | Paul Brook <paul@codesourcery.com> | 2005-10-20 03:35:48 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-10-20 03:35:48 +0000 |
commit | 3ce39ae2f1a1cc2c1af09beeb9409ded021e8dd8 (patch) | |
tree | 911ba7700723cbc278fe119a5c5ea5661f11fbb4 | |
parent | e07aaa968011fc0407acb90c183d38d5f095ce6a (diff) | |
download | gdb-3ce39ae2f1a1cc2c1af09beeb9409ded021e8dd8.tar.gz |
2005-04-29 Paul Brook <paul@codesourcery.com>
* gdb/remote-sim.c (SIGTRAP): Provide default defnition.
* gdb/signals/signals.c (SIGRAP): Ditto.
-rw-r--r-- | ChangeLog.csl | 5 | ||||
-rw-r--r-- | gdb/remote-sim.c | 4 | ||||
-rw-r--r-- | gdb/signals/signals.c | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 40a03712a87..c00e1b511ef 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,8 @@ +2005-04-29 Paul Brook <paul@codesourcery.com> + + * gdb/remote-sim.c (SIGTRAP): Provide default defnition. + * gdb/signals/signals.c (SIGRAP): Ditto. + 2005-04-25 Paul Brook <paul@codesourcery.com> * gdb/configure.tgt: Don't build rdi-share library. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 6341b3c07f6..d54bcfb8379 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -44,6 +44,10 @@ #include "sim-regno.h" #include "arch-utils.h" +#ifndef SIGTRAP +#define SIGTRAP 5 +#endif + /* Prototypes */ extern void _initialize_remote_sim (void); diff --git a/gdb/signals/signals.c b/gdb/signals/signals.c index c808d1fdeae..0ef0f0202a8 100644 --- a/gdb/signals/signals.c +++ b/gdb/signals/signals.c @@ -30,6 +30,10 @@ #include <signal.h> +#ifndef SIGTRAP +#define SIGTRAP 5 +#endif + /* Always use __SIGRTMIN if it's available. SIGRTMIN is the lowest _available_ realtime signal, not the lowest supported; glibc takes several for its own use. */ |