gdb: add remote_state::{is_async_p,can_async_p}
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 10 Oct 2023 14:53:36 +0000 (10:53 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 10 Oct 2023 15:02:00 +0000 (11:02 -0400)
commite84ffe7bcf2f718a492fc3645785a7705fde6d23
tree986d5311b1a98354b8cda3cdedc06f93f7b2c667
parent92b98b378a4ab0f051342c97b3f4be561a7c89a5
gdb: add remote_state::{is_async_p,can_async_p}

A subsequent patch will want to know if the remote is async within a
remote_state method.  Add a helper method for that, and for "can async"
as well, for symmetry.

Change-Id: Id0f648ee4896736479fa942f5453eeeb0e5d4352
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/remote.c