]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix testsuite for skipping gdb tests on remote/non-native target
authorLuc Michel <lmichel@kalray.eu>
Tue, 17 Aug 2021 15:34:37 +0000 (16:34 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 17 Aug 2021 15:54:44 +0000 (16:54 +0100)
commit817766f4dd2f6f3fdea2c4e6e22358b0b6b06d0d
tree6f61769a4f4f20b10f7a8122ca5b293b6ceaa63d
parent174f9257a75dec93221eca26c236e0a6346c9dfd
libstdc++: Fix testsuite for skipping gdb tests on remote/non-native target

This fixes an incorrect invocation of gdb on remote targets where
DejaGNU would try to run host's gdb in remote target simulator.
gdb-test skips the testing when target is remote or non native but the
gdb version check function does not.

Suggested-by: Jonathan Wakely <jwakely@redhat.com>
Signed-off-by: Luc Michel <lmichel@kalray.eu>
Co-authored-by: Marc Poulhies <mpoulhies@kalrayinc.com>
libstdc++-v3/ChangeLog:

* testsuite/lib/gdb-test.exp (gdb_version_check)
(gdb_version_check_xmethods): Only check the GDB version for
local native targets.
libstdc++-v3/testsuite/lib/gdb-test.exp
This page took 0.052367 seconds and 5 git commands to generate.