gdb/testsuite: remove XFAIL on gdb.cp/temargs.exp
authorBruno Larsen <blarsen@redhat.com>
Tue, 4 Oct 2022 17:07:46 +0000 (19:07 +0200)
committerBruno Larsen <blarsen@redhat.com>
Fri, 11 Nov 2022 09:13:48 +0000 (10:13 +0100)
commit2604c0dc3b89dcf7114de4ce71b7556bf4bf6913
treeb1ea7891b729d56a8f13d2dbe60a84d95d083f71
parentebe9ddbce72cb50e8d18663feafd48a7b172fab9
gdb/testsuite: remove XFAIL on gdb.cp/temargs.exp

gdb.cp/temargs.exp last 2 tests always setup an XFAILs, despite checking
for old gcc versions.  However, Clang does not fail in this test,
turning into XPASSes and slighty annoying when comparing between
compilers.  To change this, make the xfails only happen if we using gcc.

Approved-by: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.cp/temargs.exp