aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/gdb11479.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-10-12 17:02:15 +0200
committerTom de Vries <tdevries@suse.de>2022-10-12 17:02:15 +0200
commit632ecf33a181029be7f1b7efdc687fd3dbb1a1d0 (patch)
tree6936af3424e69a5c7131e8654df393ca10afd81d /gdb/testsuite/gdb.stabs/gdb11479.exp
parent3c74d321be66cb94bbdeb7da36111b46d2f4a578 (diff)
downloadfsf-binutils-gdb-632ecf33a181029be7f1b7efdc687fd3dbb1a1d0.zip
fsf-binutils-gdb-632ecf33a181029be7f1b7efdc687fd3dbb1a1d0.tar.gz
fsf-binutils-gdb-632ecf33a181029be7f1b7efdc687fd3dbb1a1d0.tar.bz2
[gdb/testsuite] Silence warnings about obsolete -gstabs
When running test-case gdb.base/gdbindex-stabs.exp on openSUSE Tumbleweed (with gcc 12) I get: ... gdb compile failed, gdb/testsuite/gdb.base/gdbindex-stabs.c: warning: \ STABS debugging information is obsolete and not supported anymore ... Silence the warning by passing quiet to gdb_compile. Likewise in two other test-cases.
Diffstat (limited to 'gdb/testsuite/gdb.stabs/gdb11479.exp')
-rw-r--r--gdb/testsuite/gdb.stabs/gdb11479.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.stabs/gdb11479.exp b/gdb/testsuite/gdb.stabs/gdb11479.exp
index c7a8c5b..f7231a6 100644
--- a/gdb/testsuite/gdb.stabs/gdb11479.exp
+++ b/gdb/testsuite/gdb.stabs/gdb11479.exp
@@ -39,7 +39,7 @@ proc do_test {version} {
gdb_test "print sizeof (*e)" "= \[1-9\]*" "sizeof (*e) in test $version"
}
-if { [prepare_for_testing "failed to prepare" $testfile $testfile.c {debug additional_flags=-gstabs}] == 0 } {
+if { [prepare_for_testing "failed to prepare" $testfile $testfile.c {debug additional_flags=-gstabs quiet}] == 0 } {
do_test forced_stabs
}