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.
This commit is contained in:
Joel Brobecker 2011-01-06 14:58:58 +00:00
parent b1ce2347b7
commit 16dfc9cef0
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-01-06 Joel Brobecker <brobecker@adacore.com>
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 <brobecker@adacore.com>
* ada-tasks.c: Fix style violation in comment.

View File

@ -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