diff options
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/target.c')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/target.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/target.c b/gnu/usr.bin/binutils/gdb/target.c index 6f0c6deeec5..42825e0dd3d 100644 --- a/gnu/usr.bin/binutils/gdb/target.c +++ b/gnu/usr.bin/binutils/gdb/target.c @@ -1064,7 +1064,11 @@ static struct { {"SIGVTALRM", "Virtual timer expired"}, {"SIGPROF", "Profiling timer expired"}, {"SIGWINCH", "Window size changed"}, +#if defined(SIGINFO) + {"SIGINFO", "Information request"}, +#else {"SIGLOST", "Resource lost"}, +#endif {"SIGUSR1", "User defined signal 1"}, {"SIGUSR2", "User defined signal 2"}, {"SIGPWR", "Power fail/restart"}, @@ -1245,6 +1249,9 @@ target_signal_from_host (hostsig) #if defined (SIGWINCH) if (hostsig == SIGWINCH) return TARGET_SIGNAL_WINCH; #endif +#if defined (SIGINFO) + if (hostsig == SIGINFO) return TARGET_SIGNAL_INFO; +#endif #if defined (SIGURG) if (hostsig == SIGURG) return TARGET_SIGNAL_URG; #endif @@ -1464,6 +1471,9 @@ target_signal_to_host (oursig) #if defined (SIGLOST) case TARGET_SIGNAL_LOST: return SIGLOST; #endif +#if defined (SIGINFO) + case TARGET_SIGNAL_INFO: return SIGINFO; +#endif #if defined (SIGWAITING) case TARGET_SIGNAL_WAITING: return SIGWAITING; #endif |