aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-15 17:27:45 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-15 17:27:45 +0000
commitc72d5bf87ee5234d885e63f47f5197e9b58ae67e (patch)
treee0bd44e9f338e75a7131a3e3e3ef80a8b5ae0d42 /gdbstub.c
parent75f765317b0bce0ad250f665c24c844d775ea4da (diff)
Fix bsd-user build
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6312 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdbstub.c b/gdbstub.c
index a3ff07aed9..99a4772954 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -87,7 +87,11 @@ static int gdb_signal_table[] = {
-1, /* SIGLOST */
TARGET_SIGUSR1,
TARGET_SIGUSR2,
+#ifdef TARGET_SIGPWR
TARGET_SIGPWR,
+#else
+ -1,
+#endif
-1, /* SIGPOLL */
-1,
-1,
@@ -100,6 +104,7 @@ static int gdb_signal_table[] = {
-1,
-1,
-1,
+#ifdef __SIGRTMIN
__SIGRTMIN + 1,
__SIGRTMIN + 2,
__SIGRTMIN + 3,
@@ -206,6 +211,7 @@ static int gdb_signal_table[] = {
-1,
-1,
-1
+#endif
};
#else
/* In system mode we only need SIGINT and SIGTRAP; other signals