From b5888f94c74676c26114590fef79e2e1d314ce9c Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 20 Oct 2005 03:35:48 +0000 Subject: [PATCH] 2005-04-29 Paul Brook * gdb/remote-sim.c (SIGTRAP): Provide default defnition. * gdb/signals/signals.c (SIGRAP): Ditto. --- ChangeLog.csl | 5 +++++ gdb/remote-sim.c | 4 ++++ gdb/signals/signals.c | 4 ++++ 3 files changed, 13 insertions(+) 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 + + * gdb/remote-sim.c (SIGTRAP): Provide default defnition. + * gdb/signals/signals.c (SIGRAP): Ditto. + 2005-04-25 Paul Brook * 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 +#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. */ -- 2.47.2