Change type of debug_aix_thread to bool
authorChristian Biesinger <cbiesinger@google.com>
Mon, 2 Dec 2019 18:33:38 +0000 (12:33 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Mon, 2 Dec 2019 18:35:48 +0000 (12:35 -0600)
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/ChangeLog
gdb/aix-thread.c

index b8cb71038cbbbfe8d58d3c2c1ab2e429decadf3a..0c31ddd1d385bf4cd6920eb26de18e7067c530c4 100644 (file)
@@ -1,3 +1,7 @@
+2019-12-02  Christian Biesinger  <cbiesinger@google.com>
+
+       * aix-thread.c (debug_aix_thread): Change type to bool.
+
 2019-12-02  Luis Machado  <luis.machado@linaro.org>
 
        * infrun.c (follow_fork_inferior): Remove outdated FIXME comment.
index ffa3352d03992338614c3883d8ac2f268e597ed8..35b77fe4ec0c719d41344c02c7ab2839f8f91c9c 100644 (file)
@@ -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
This page took 0.030934 seconds and 4 git commands to generate.