linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
[binutils-gdb.git] / gdb / linux-nat.c
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;