public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PUSHED/OBVIOUS] Change type of debug_aix_thread to bool
@ 2019-12-02 18:39 Christian Biesinger via gdb-patches
  0 siblings, 0 replies; only message in thread
From: Christian Biesinger via gdb-patches @ 2019-12-02 18:39 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-02 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 18:39 [PUSHED/OBVIOUS] Change type of debug_aix_thread to bool Christian Biesinger via gdb-patches

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).