]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-04-29 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Thu, 20 Oct 2005 03:35:48 +0000 (03:35 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 20 Oct 2005 03:35:48 +0000 (03:35 +0000)
* gdb/remote-sim.c (SIGTRAP): Provide default defnition.
* gdb/signals/signals.c (SIGRAP): Ditto.

ChangeLog.csl
gdb/remote-sim.c
gdb/signals/signals.c

index 40a03712a8725db614f0fe0cae62ad5c1bfec9e0..c00e1b511ef28910daa31a0ee142f6b622cfba6d 100644 (file)
@@ -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.
index 6341b3c07f6d0cf3f408ce2ebcaf6221f1c92e16..d54bcfb8379a9450c1a5f1bc5a0b33cb4aa0978a 100644 (file)
 #include "sim-regno.h"
 #include "arch-utils.h"
 
+#ifndef SIGTRAP
+#define SIGTRAP 5
+#endif
+
 /* Prototypes */
 
 extern void _initialize_remote_sim (void);
index c808d1fdeaec88d6ea70b498c928cf1067283b91..0ef0f0202a80fed040b70bad9ae147172f046e34 100644 (file)
 
 #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.  */