hurd: fix gnu_debug_flag type

Fixes

../../gdb/gnu-nat.c:96:6: error: conflicting declaration ‘bool gnu_debug_flag’
   96 | bool gnu_debug_flag = false;
../../gdb/gnu-nat.c: In function ‘void _initialize_gnu_nat()’:
../../gdb/gnu-nat.c:3511:7: error: cannot

gdb/ChangeLog:

	* gnu-nat.h (gnu_debug_flag): Set type to bool.
This commit is contained in:
Samuel Thibault 2020-05-30 18:35:59 +00:00
parent 112c22ed1f
commit 6930bffe33
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
* gnu-nat.h (gnu_debug_flag): Set type to bool.
2020-05-30 Jonny Grant <jg@jguk.org>
* configure.ac (ACX_BUGURL): change bug URL to https.

View File

@ -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) \