Fix bsd-user build

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6312 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-01-15 17:27:45 +00:00
parent 75f765317b
commit c72d5bf87e

View File

@ -87,7 +87,11 @@ static int gdb_signal_table[] = {
-1, /* SIGLOST */ -1, /* SIGLOST */
TARGET_SIGUSR1, TARGET_SIGUSR1,
TARGET_SIGUSR2, TARGET_SIGUSR2,
#ifdef TARGET_SIGPWR
TARGET_SIGPWR, TARGET_SIGPWR,
#else
-1,
#endif
-1, /* SIGPOLL */ -1, /* SIGPOLL */
-1, -1,
-1, -1,
@ -100,6 +104,7 @@ static int gdb_signal_table[] = {
-1, -1,
-1, -1,
-1, -1,
#ifdef __SIGRTMIN
__SIGRTMIN + 1, __SIGRTMIN + 1,
__SIGRTMIN + 2, __SIGRTMIN + 2,
__SIGRTMIN + 3, __SIGRTMIN + 3,
@ -206,6 +211,7 @@ static int gdb_signal_table[] = {
-1, -1,
-1, -1,
-1 -1
#endif
}; };
#else #else
/* In system mode we only need SIGINT and SIGTRAP; other signals /* In system mode we only need SIGINT and SIGTRAP; other signals