[PUSHED/OBVIOUS] Change type of debug_aix_thread to bool

Message ID CAPTJ0XHO2uprUBSfEVy8XiB1Xxgs3YPVgG1FE9Cqj+DM7KXnNA@mail.gmail.com
State New, archived
Headers

Commit Message

Terekhov, Mikhail via Gdb-patches Dec. 2, 2019, 6:39 p.m. UTC
  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(-)

 #ifndef PTHDB_VERSION_3
  

Patch

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.  */