]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix mi-sym-info.exp with check-read1
authorTom de Vries <tdevries@suse.de>
Tue, 3 Mar 2020 09:33:49 +0000 (10:33 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 3 Mar 2020 09:33:49 +0000 (10:33 +0100)
commitb98cc2cf1aecd4b9348252832b4b0bef727866cf
treef0f15ba992763a604fa3450a94ec7c6bf22f4ee8
parentf45fb2900cbcbc746a626d1d6bbff5eec36e9b84
[gdb/testsuite] Fix mi-sym-info.exp with check-read1

When running gdb.mi/mi-sym-info.exp with check-read1, we run into:
...
FAIL: gdb.mi/mi-sym-info.exp: List all functions
FAIL: gdb.mi/mi-sym-info.exp: List all variables
...

The problem is that while the $mi_gdb_prompt is active, gdb_test_multiple is
used without -prompt "$mi_gdb_prompt$", so it defaults to matching $gdb_prompt.

Fix this by adding the missing gdb_test_multiple arguments.

Reg-tested on x86_64-linux with make targets check and check-read1.

gdb/testsuite/ChangeLog:

2020-03-03  Tom de Vries  <tdevries@suse.de>

* gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
gdb_test_multiple calls.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-sym-info.exp