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.
This commit is contained in:
Tom Tromey
2022-07-19 13:07:32 -06:00
parent 36da255e7c
commit 4a570176b4
15 changed files with 35 additions and 35 deletions

View File

@@ -2605,7 +2605,7 @@ attach_command (const char *args, int from_tty)
/* Enable async mode if it is supported by the target. */
if (target_can_async_p ())
target_async (1);
target_async (true);
/* Set up the "saved terminal modes" of the inferior
based on what modes we are starting it with. */