gdb: define convenience function 'exists_non_stop_target'
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 1 Apr 2020 19:33:05 +0000 (21:33 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 1 Apr 2020 19:33:05 +0000 (21:33 +0200)
commita0714d305fb78b3a2a74a2acd6d8c66da80a6387
tree72a23f1e24f8375d9570e2b2ab89b8453340c66f
parent3ce23ca1de4c769c4b7247f0724a10ef5fb24a11
gdb: define convenience function 'exists_non_stop_target'

Define a predicate function that returns true if there exists an
inferior with a non-stop target.

gdb/ChangeLog:
2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

* target.h (exists_non_stop_target): New function declaration.
* target.c (exists_non_stop_target): New function.
gdb/ChangeLog
gdb/target.c
gdb/target.h