aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:35:59 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:40:25 +0000
commit6930bffe3373690b3431d6291f9f7c116d6a1ec4 (patch)
tree5f0052dddd32b611a0ec156fdc16d591b93e78cd /gdb/gnu-nat.h
parent112c22ed1f35049a73994bfdab0fdabb4fb91886 (diff)
downloadgdb-6930bffe3373690b3431d6291f9f7c116d6a1ec4.zip
gdb-6930bffe3373690b3431d6291f9f7c116d6a1ec4.tar.gz
gdb-6930bffe3373690b3431d6291f9f7c116d6a1ec4.tar.bz2
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.
Diffstat (limited to 'gdb/gnu-nat.h')
-rw-r--r--gdb/gnu-nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h
index 77c5781..766f716 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) \