aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-01-06 14:58:58 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-01-06 14:58:58 +0000
commit16dfc9cef0ec7055300d67beb252912c512f2d77 (patch)
treee306a898a404f449ffb13aa2847c5f86baeb65bf /gdb/infrun.c
parentb1ce2347b71c4087061d2f5b88a4c3b8e60dcbdc (diff)
downloadgdb-16dfc9cef0ec7055300d67beb252912c512f2d77.zip
gdb-16dfc9cef0ec7055300d67beb252912c512f2d77.tar.gz
gdb-16dfc9cef0ec7055300d67beb252912c512f2d77.tar.bz2
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8a3ba84..dd6fe6c 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