From patchwork Sun Oct 19 04:27:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 3283 Received: (qmail 24990 invoked by alias); 19 Oct 2014 04:28:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 24961 invoked by uid 89); 19 Oct 2014 04:28:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 19 Oct 2014 04:28:18 +0000 Received: by mail-pa0-f49.google.com with SMTP id hz1so3083339pad.22 for ; Sat, 18 Oct 2014 21:28:16 -0700 (PDT) X-Received: by 10.68.220.133 with SMTP id pw5mr67498pbc.129.1413692896234; Sat, 18 Oct 2014 21:28:16 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id gz1sm5496660pbb.8.2014.10.18.21.28.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Oct 2014 21:28:15 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [OB PATCH] (linux_nat_wait_1): Make local prev_mask non-static Date: Sat, 18 Oct 2014 21:27:28 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. Committed as obvious. 2014-10-18 Doug Evans * 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;