Use gnat_runtime_has_debug_info in Ada catchpoint tests
authorTom Tromey <tromey@adacore.com>
Thu, 20 Apr 2023 17:28:51 +0000 (11:28 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000 (11:51 -0600)
commitdd473473033f865258b85b5cb0001e64b03ad9ad
tree1c2609d3922842aaa3cc2127a46d16d3d12f1e8a
parent4adf3a4059b291364842678be17d4b62214bbdbd
Use gnat_runtime_has_debug_info in Ada catchpoint tests

This changes the Ada catchpoint tests to use
gnat_runtime_has_debug_info.  This simplifies the code.
gdb/testsuite/gdb.ada/catch_assert_if.exp
gdb/testsuite/gdb.ada/catch_ex.exp
gdb/testsuite/gdb.ada/catch_ex_std.exp
gdb/testsuite/gdb.ada/excep_handle.exp
gdb/testsuite/gdb.ada/mi_catch_assert.exp
gdb/testsuite/gdb.ada/mi_catch_ex.exp
gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp
gdb/testsuite/gdb.ada/mi_ex_cond.exp