diff options
author | Tom de Vries <tdevries@suse.de> | 2022-10-12 17:02:15 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-10-12 17:02:15 +0200 |
commit | 3c74d321be66cb94bbdeb7da36111b46d2f4a578 (patch) | |
tree | 3f4a52cc9478dd04020de4d946638c888e8b8472 /gdb/testsuite/gdb.base | |
parent | a2470500432334fe254ef10ddabcab239e8de828 (diff) | |
download | gdb-3c74d321be66cb94bbdeb7da36111b46d2f4a578.zip gdb-3c74d321be66cb94bbdeb7da36111b46d2f4a578.tar.gz gdb-3c74d321be66cb94bbdeb7da36111b46d2f4a578.tar.bz2 |
[gdb/testsuite] Replace remaining -gt with -gctf
With test-cases gdb.base/cvexpr.exp and gdb.base/whatis.exp I run into:
...
gdb compile failed, gcc: error: unrecognized debug output level 't'
...
This is due to using additional_flags=-gt.
Commit ffb3f587933 ("CTF: multi-CU and archive support") replaced
additional_flags=-gt with additional_flags=-gctf in gdb.ctf/*.exp and
gdb.base/ctf-*.exp.
Do the same in these two test-cases.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/cvexpr.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/whatis.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/cvexpr.exp b/gdb/testsuite/gdb.base/cvexpr.exp index e7ff730..d8437b9 100644 --- a/gdb/testsuite/gdb.base/cvexpr.exp +++ b/gdb/testsuite/gdb.base/cvexpr.exp @@ -494,7 +494,7 @@ proc do_test {dir options} { # Build up the set of debug formats for which we will run this test. set specs { {dwarf {debug}} } if ![skip_ctf_tests] { - lappend specs {ctf {"additional_flags=-gt"}} + lappend specs {ctf {"additional_flags=-gctf"}} } # Setup and run the test for each debug format. diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/whatis.exp index 2bce3f5..c19c149 100644 --- a/gdb/testsuite/gdb.base/whatis.exp +++ b/gdb/testsuite/gdb.base/whatis.exp @@ -588,7 +588,7 @@ proc do_test {dir options} { # Build up the set of debug formats for which we will run this test. set specs { {dwarf {debug}} } if ![skip_ctf_tests] { - lappend specs {ctf {"additional_flags=-gt"}} + lappend specs {ctf {"additional_flags=-gctf"}} } # Setup and run the test for each debug format. |