aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
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.c
parent3eccb1c8bfd1f119bbc55bf2821d0e4d76116b67 (diff)
downloadgdb-6ff267e18624c4287e2e9ea6976d70ad31f8e3b1.zip
gdb-6ff267e18624c4287e2e9ea6976d70ad31f8e3b1.tar.gz
gdb-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.c')
-rw-r--r--gdb/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 9a8473d..06d7b4f 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -3729,8 +3729,8 @@ target_always_non_stop_p (void)
/* See target.h. */
-int
-target_is_non_stop_p (void)
+bool
+target_is_non_stop_p ()
{
return (non_stop
|| target_non_stop_enabled == AUTO_BOOLEAN_TRUE