forked from Imagelibrary/binutils-gdb
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user