]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix gdb.cp/psymtab-parameter.exp with -readnow
authorTom de Vries <tdevries@suse.de>
Tue, 27 Oct 2020 22:17:09 +0000 (23:17 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Oct 2020 22:17:09 +0000 (23:17 +0100)
commit06db6ec3d97836d4609d03ac3a3d4e104ad879be
tree57989be3f40cc03eafbb546e0c013a9068a9a700
parent934a1764071ebe9d6e148e741b55bafb036a7cc6
[gdb/testsuite] Fix gdb.cp/psymtab-parameter.exp with -readnow

When running test-case gdb.cp/psymtab-parameter.exp with target board readnow,
we run into:
...
FAIL: gdb.cp/psymtab-parameter.exp: maintenance info symtabs
...

The FAIL is expected, as mentioned in the comment:
...
 # The goal is to keep the CU (Compilation Unit) unexpanded.  It would be
 # rather XFAIL than FAIL here.  For example -readnow breaks it.
 gdb_test_no_output "maintenance info symtabs"
...

Fix the FAIL by skipping the command for -readnow.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-10-27  Tom de Vries  <tdevries@suse.de>

* gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
-readnow.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/psymtab-parameter.exp