From: Joel Brobecker Date: Thu, 6 Jan 2011 14:58:58 +0000 (+0000) Subject: Do not stop on SIGPRIO signals by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16dfc9cef0ec7055300d67beb252912c512f2d77;p=binutils-gdb.git Do not stop on SIGPRIO signals by default This signal does not indicate an error condition, so the default behavior when receiving this signal should be to resume execution silently. gdb/ChangeLog: Do not stop on SIGPRIO signals by default * infrun.c (_initialize_infrun): Unset signal_stop and signal_print for TARGET_SIGNAL_PRIO. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 92a8e6f1bd0..a653f2f2a6e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-01-06 Joel Brobecker + + Do not stop on SIGPRIO signals by default + * infrun.c (_initialize_infrun): Unset signal_stop and + signal_print for TARGET_SIGNAL_PRIO. + 2011-01-06 Joel Brobecker * ada-tasks.c: Fix style violation in comment. diff --git a/gdb/infrun.c b/gdb/infrun.c index 8a3ba84326a..dd6fe6cd740 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -6927,6 +6927,8 @@ leave it stopped or free to run as needed."), signal_print[TARGET_SIGNAL_URG] = 0; signal_stop[TARGET_SIGNAL_WINCH] = 0; signal_print[TARGET_SIGNAL_WINCH] = 0; + signal_stop[TARGET_SIGNAL_PRIO] = 0; + signal_print[TARGET_SIGNAL_PRIO] = 0; /* These signals are used internally by user-level thread implementations. (See signal(5) on Solaris.) Like the above