From patchwork Mon Dec 2 18:39:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 36439 Received: (qmail 1788 invoked by alias); 2 Dec 2019 18:39:44 -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 1761 invoked by uid 89); 2 Dec 2019 18:39:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-29.9 required=5.0 tests=AWL, BAYES_00, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, USER_IN_DEF_SPF_WL autolearn=ham version=3.3.1 spammy= X-HELO: mail-ot1-f44.google.com Received: from mail-ot1-f44.google.com (HELO mail-ot1-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Dec 2019 18:39:43 +0000 Received: by mail-ot1-f44.google.com with SMTP id p8so379334oth.10 for ; Mon, 02 Dec 2019 10:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zMnHvStfmgBvcgCksF8982VpUy2VBtPeEn4MJoe5sLs=; b=SquMFT6UU8B44bis3QuJTo1Th1RTdO7TihY1kBiV0+W0IBaVfW0vakh2Lg78NUo91D 0KO9/VrgZLkzpHPhVtYYLdJueK1lKntkydF7fnL/cizbRPSsMYJxvh/44b27d6SVBL5R z868iUGDW2P01ZJhtDaX7BPFvfMn2c10lsq/MnG+dCTmMlZkLoluIBghwtiWHuk2hjYd dSMlR0petYXpOxSU9LG+eJNZ950hTsZ9P+ZHt5lVJbWoKYW6/VvxemzcVZ+RpXv+Kazw B5EQyc7F6+f8Mby33Y3Uxw6KGOaxJmf/aMol6iQgNII44/OI/ndNh9Jg3B7KmwpKU5OH K8KQ== MIME-Version: 1.0 X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger Date: Mon, 2 Dec 2019 12:39:04 -0600 Message-ID: Subject: [PUSHED/OBVIOUS] Change type of debug_aix_thread to bool To: gdb-patches X-IsSubscribed: yes This fixes AIX build breakage from commit 491144b5e21bbfd41969c175aebb663976f59058 Thanks to Sangamesh Mallayya for pointing this out to me. gdb/ChangeLog: 2019-12-02 Christian Biesinger * aix-thread.c (debug_aix_thread): Change type to bool. Change-Id: Ie7b2eab97b75b48067ef77e414e7510d1f79a525 --- gdb/aix-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) #ifndef PTHDB_VERSION_3 diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index ffa3352d03..35b77fe4ec 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -61,7 +61,7 @@ extern int getthrds (pid_t, struct thrdsinfo64 *, int, tid_t *, int); #endif /* Whether to emit debugging output. */ -static int debug_aix_thread; +static bool debug_aix_thread; /* In AIX 5.1, functions use pthdb_tid_t instead of tid_t. */