From: Christian Biesinger Date: Mon, 2 Dec 2019 18:33:38 +0000 (-0600) Subject: Change type of debug_aix_thread to bool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=638d85bce02264cd6180a240a1d033fb1ea58e26;p=binutils-gdb.git 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 --- 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