]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Handle early_flags in gdb_default_target_compile
authorTom de Vries <tdevries@suse.de>
Tue, 30 Jun 2020 07:23:09 +0000 (09:23 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 30 Jun 2020 07:23:09 +0000 (09:23 +0200)
commitb011fe1a7242f242699f9e74798e5ffbc7973c6e
treedf5873996f93134c07237e236dfb13c4ec32f86e
parentfb4a044b5a697d9215a95c0e38d4fe774de41b06
[gdb/testsuite] Handle early_flags in gdb_default_target_compile

In gdb_default_target_compile, we use dejagnu's default_target_compile, unless
we need support for languages that are not yet support in the used dejagnu
version, in which case we use a local default_target_compile:
gdb_default_target_compile_1.

However, there's another reason to use the local default_target_compile: when
early_flags is used, because there's no dejagnu release available yet
supporting this.

Fix this by detecting and handling early_flags in gdb_default_target_compile.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-06-30  Tom de Vries  <tdevries@suse.de>

PR testsuite/26175
* lib/future.exp (gdb_default_target_compile): Detect and handle
early_flags.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/future.exp