aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-02-04 15:45:20 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-02-04 15:47:28 -0500
commit6ff267e18624c4287e2e9ea6976d70ad31f8e3b1 (patch)
tree81d859c55d4df21c724e4731e5fa631a7f3757a2 /gdb/target.h
parent3eccb1c8bfd1f119bbc55bf2821d0e4d76116b67 (diff)
downloadbinutils-6ff267e18624c4287e2e9ea6976d70ad31f8e3b1.zip
binutils-6ff267e18624c4287e2e9ea6976d70ad31f8e3b1.tar.gz
binutils-6ff267e18624c4287e2e9ea6976d70ad31f8e3b1.tar.bz2
gdb: make target_is_non_stop_p return bool
gdb/ChangeLog: * target.c (target_is_non_stop_p): Return bool. * target.h (target_is_non_stop_p): Return bool. Change-Id: Icdb37ffe917798e59b822976794d4b1b7aafd709
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index c97ef69..0de7807 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1873,7 +1873,7 @@ extern enum auto_boolean target_non_stop_enabled;
/* Is the target in non-stop mode? Some targets control the inferior
in non-stop mode even with "set non-stop off". Always true if "set
non-stop" is on. */
-extern int target_is_non_stop_p (void);
+extern bool target_is_non_stop_p ();
/* Return true if at least one inferior has a non-stop target. */
extern bool exists_non_stop_target ();