bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/5] hurd: fix gnu_debug_flag type


From: Samuel Thibault
Subject: [PATCH 1/5] hurd: fix gnu_debug_flag type
Date: Fri, 29 May 2020 22:01:09 +0200
User-agent: NeoMutt/20170609 (1.8.3)

gdb/ChangeLog: 

2020-05-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * gdb/gnu-nat.h (gnu_debug_flag): Set type to bool.

diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h
index 77c57817b2..7c36778394 100644
--- a/gdb/gnu-nat.h
+++ b/gdb/gnu-nat.h
@@ -111,7 +111,7 @@ extern char *proc_string (struct proc *proc);
              __proc_pid (__proc), __proc->tid, \
              host_address_to_string (__proc) , ##args); } while (0)
 
-extern int gnu_debug_flag;
+extern bool gnu_debug_flag;
 
 #define debug(msg, args...) \
  do { if (gnu_debug_flag) \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]