Add a have_native_target helper function for use with require.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 14 Jul 2023 15:39:24 +0000 (08:39 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 14 Jul 2023 15:39:24 +0000 (08:39 -0700)
commit6af166ed587b15a46a2bb92bb16b72f4b76d400f
tree52ccd6c997e320890fb7ad9c25968f08ecca60f9
parenta4a688ffa46533bf26d5d27dc7f75c22d90fd638
Add a have_native_target helper function for use with require.

Move logic from auto-connect-native-target.exp into this helper.
gdb/testsuite/gdb.base/auto-connect-native-target.exp
gdb/testsuite/lib/gdb.exp