aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-07-19 13:07:32 -0600
committerTom Tromey <tromey@adacore.com>2022-07-22 11:06:51 -0600
commit4a570176b4031de847c2b6067798d67006c1e8f5 (patch)
tree3f1009c5c1767ccced9adb134a16308e15c4c044 /gdb/inf-ptrace.c
parent36da255e7c6a37b17492361d91001e23263c05c6 (diff)
downloadgdb-4a570176b4031de847c2b6067798d67006c1e8f5.zip
gdb-4a570176b4031de847c2b6067798d67006c1e8f5.tar.gz
gdb-4a570176b4031de847c2b6067798d67006c1e8f5.tar.bz2
Change target_ops::async to accept bool
This changes the parameter of target_ops::async from int to bool. Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r--gdb/inf-ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index b976797..8995ef5 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -538,7 +538,7 @@ inf_ptrace_target::close ()
{
/* Unregister from the event loop. */
if (is_async_p ())
- async (0);
+ async (false);
inf_child_target::close ();
}