linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
authorDoug Evans <xdje42@gmail.com>
Sun, 19 Oct 2014 04:24:47 +0000 (21:24 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 19 Oct 2014 04:24:47 +0000 (21:24 -0700)
gdb/ChangeLog:

linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.

gdb/ChangeLog
gdb/linux-nat.c

index 97cab79616b29fc2a6f7bd480fae24b6e9a70349..801feba47e889a1c548e8ded91c984122ead8525 100644 (file)
@@ -1,3 +1,7 @@
+2014-10-18  Doug Evans  <xdje42@gmail.com>
+
+       * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
+
 2014-10-17  Doug Evans  <dje@google.com>
 
        * NEWS: Mention new event gdb.clear_objfiles.
index 396c30c70700cb22e58c1d0ad9a215ea22867a33..21797c119a2ca022c46a90c3f2d92f2d81fc38ba 100644 (file)
@@ -3011,7 +3011,7 @@ linux_nat_wait_1 (struct target_ops *ops,
                  ptid_t ptid, struct target_waitstatus *ourstatus,
                  int target_options)
 {
-  static sigset_t prev_mask;
+  sigset_t prev_mask;
   enum resume_kind last_resume_kind;
   struct lwp_info *lp;
   int status;