]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-04-29 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 29 Apr 2005 14:18:09 +0000 (14:18 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 29 Apr 2005 14:18:09 +0000 (14:18 +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 74d0797d2e2c6fa3f921d40ec104a3d14366577e..5c9c1d16453498e7f28b1e86e22a2363ee5d08fd 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-28  Paul Brook  <paul@codesourcery.com>
 
        * gdb/exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
index 696fc9a28277be4db65c1ef71887a50c19f481e5..24e389b26699ff5477d5526f90cee4b171b62f45 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.  */