[gdb/testsuite] Silence warnings about obsolete -gstabs
authorTom de Vries <tdevries@suse.de>
Wed, 12 Oct 2022 15:02:15 +0000 (17:02 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 12 Oct 2022 15:02:15 +0000 (17:02 +0200)
commit632ecf33a181029be7f1b7efdc687fd3dbb1a1d0
tree6936af3424e69a5c7131e8654df393ca10afd81d
parent3c74d321be66cb94bbdeb7da36111b46d2f4a578
[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.
gdb/testsuite/gdb.base/gdbindex-stabs.exp
gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
gdb/testsuite/gdb.stabs/gdb11479.exp