public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Christian Biesinger via gdb-patches" <gdb-patches@sourceware.org>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [PUSHED/OBVIOUS] Change type of debug_aix_thread to bool
Date: Mon, 02 Dec 2019 18:39:00 -0000	[thread overview]
Message-ID: <CAPTJ0XHO2uprUBSfEVy8XiB1Xxgs3YPVgG1FE9Cqj+DM7KXnNA@mail.gmail.com> (raw)

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  <cbiesinger@google.com>

* 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(-)

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.  */
 #ifndef PTHDB_VERSION_3
-- 
2.24.0.393.g34dc348eaf-goog

                 reply	other threads:[~2019-12-02 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPTJ0XHO2uprUBSfEVy8XiB1Xxgs3YPVgG1FE9Cqj+DM7KXnNA@mail.gmail.com \
    --to=gdb-patches@sourceware.org \
    --cc=cbiesinger@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).