From 638d85bce02264cd6180a240a1d033fb1ea58e26 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Mon, 2 Dec 2019 12:33:38 -0600 Subject: [PATCH] Change type of debug_aix_thread to bool 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/ChangeLog | 4 ++++ gdb/aix-thread.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8cb71038cb..0c31ddd1d38 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-12-02 Christian Biesinger + + * aix-thread.c (debug_aix_thread): Change type to bool. + 2019-12-02 Luis Machado * infrun.c (follow_fork_inferior): Remove outdated FIXME comment. diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index ffa3352d039..35b77fe4ec0 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.30.2