aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-10-18 21:24:47 -0700
committerDoug Evans <xdje42@gmail.com>2014-10-18 21:24:47 -0700
commitfc9b8e475d13b13e6cac1441aef649ce45929111 (patch)
tree2c1b93988f5d94d43a6965409a65a965d2c6153c /gdb
parent5bb926bae5e049e61d409fc5a0985082c9997eab (diff)
downloadgdb-fc9b8e475d13b13e6cac1441aef649ce45929111.zip
gdb-fc9b8e475d13b13e6cac1441aef649ce45929111.tar.gz
gdb-fc9b8e475d13b13e6cac1441aef649ce45929111.tar.bz2
linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
gdb/ChangeLog: linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-nat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 97cab79..801feba 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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;