This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB PATCH] (linux_nat_wait_1): Make local prev_mask non-static
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 18 Oct 2014 21:27:28 -0700
- Subject: [OB PATCH] (linux_nat_wait_1): Make local prev_mask non-static
- Authentication-results: sourceware.org; auth=none
Hi.
Committed as obvious.
2014-10-18 Doug Evans <xdje42@gmail.com>
* linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 396c30c..21797c1 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -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;