Commit c72d5bf87ee5234d885e63f47f5197e9b58ae67e
1 parent
75f76531
Fix bsd-user build
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6312 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
6 additions
and
0 deletions
gdbstub.c
... | ... | @@ -87,7 +87,11 @@ static int gdb_signal_table[] = { |
87 | 87 | -1, /* SIGLOST */ |
88 | 88 | TARGET_SIGUSR1, |
89 | 89 | TARGET_SIGUSR2, |
90 | +#ifdef TARGET_SIGPWR | |
90 | 91 | TARGET_SIGPWR, |
92 | +#else | |
93 | + -1, | |
94 | +#endif | |
91 | 95 | -1, /* SIGPOLL */ |
92 | 96 | -1, |
93 | 97 | -1, |
... | ... | @@ -100,6 +104,7 @@ static int gdb_signal_table[] = { |
100 | 104 | -1, |
101 | 105 | -1, |
102 | 106 | -1, |
107 | +#ifdef __SIGRTMIN | |
103 | 108 | __SIGRTMIN + 1, |
104 | 109 | __SIGRTMIN + 2, |
105 | 110 | __SIGRTMIN + 3, |
... | ... | @@ -206,6 +211,7 @@ static int gdb_signal_table[] = { |
206 | 211 | -1, |
207 | 212 | -1, |
208 | 213 | -1 |
214 | +#endif | |
209 | 215 | }; |
210 | 216 | #else |
211 | 217 | /* In system mode we only need SIGINT and SIGTRAP; other signals | ... | ... |