aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2021-11-24 11:36:46 +0000
committerAndrew Burgess <aburgess@redhat.com>2021-11-25 10:00:40 +0000
commit7054fa5bcaea3ce1a2f10a8ca550db96564035db (patch)
tree62eb3f7ca0e979cdafaf6453121947d42b7be160 /gdb/python
parentbf94662bfe3ac43e792a4a6c44e35d7aafa9d0c1 (diff)
downloadbinutils-7054fa5bcaea3ce1a2f10a8ca550db96564035db.zip
binutils-7054fa5bcaea3ce1a2f10a8ca550db96564035db.tar.gz
binutils-7054fa5bcaea3ce1a2f10a8ca550db96564035db.tar.bz2
gdb: simplify remote_target::is_async_p
This commit simplifies remote_target::is_async_p by removing the target_async_permitted check. In previous commits I have added additional assertions around the target_async_permitted flag into target.c, as a result we should now be confident that if target_can_async_p returns false, a target will never have async mode enabled. Given this, it should not be necessary to check target_async_permitted in remote_target::is_async_p, if this flag is false ::is_async_p should return false anyway. There is an assert to this effect in target_is_async_p. There should be no user visible change after this commit.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions