Do not stop on SIGPRIO signals by default
authorJoel Brobecker <brobecker@gnat.com>
Thu, 6 Jan 2011 14:58:58 +0000 (14:58 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 6 Jan 2011 14:58:58 +0000 (14:58 +0000)
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.

gdb/ChangeLog
gdb/infrun.c

index 92a8e6f1bd03746e13ef8e5b9fd7fdc9d0246a65..a653f2f2a6e1f05ec8e50d7e03df0b05861b3a6a 100644 (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.
index 8a3ba84326a0216b0122b2655cd107322b5571f6..dd6fe6cd740e367507f431ada38f095adfab2f82 100644 (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