Stop gdb in gnat_runtime_has_debug_info
authorTom Tromey <tromey@adacore.com>
Mon, 17 Apr 2023 17:20:02 +0000 (11:20 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000 (11:51 -0600)
commit4adf3a4059b291364842678be17d4b62214bbdbd
tree23829bc49ae1c629815559062344bddfdb23ab77
parent9f82823f8972fbd4bba0230b27828d87f0548cbc
Stop gdb in gnat_runtime_has_debug_info

gnat_runtime_has_debug_info starts a new gdb to do its work.  However,
it also leaves this gdb running, which can potentially confuse the
calling test -- I encountered this when writing a new DAP test.  This
patch changes the proc to shut down gdb.
gdb/testsuite/lib/ada.exp