aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.multi
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-06-11 13:54:10 +0200
committerTom de Vries <tdevries@suse.de>2019-06-11 13:54:10 +0200
commitfea82da0fe15137fda0056c0f0b92b6e70997ea8 (patch)
tree68f38e8b6327a69b2ae68f2333754e203b81aa94 /gdb/testsuite/gdb.multi
parent86108c1311d82af6707d38e6d3dae1ec0aa92ec9 (diff)
downloadgdb-fea82da0fe15137fda0056c0f0b92b6e70997ea8.zip
gdb-fea82da0fe15137fda0056c0f0b92b6e70997ea8.tar.gz
gdb-fea82da0fe15137fda0056c0f0b92b6e70997ea8.tar.bz2
[gdb/testsuite] Fix remove-inferiors.exp FAIL with readnow board
We see this failure with the readnow board: ... FAIL: gdb.multi/remove-inferiors.exp: load binary ... When running with board readnow, an extra message "Expanding full symbols" is emitted after the "Reading symbols" message, and the regexp corresponding to the FAIL only allows the first message. Fix this by allowing the extra message in the regexp. gdb/testsuite/ChangeLog: 2019-06-11 Tom de Vries <tdevries@suse.de> PR testsuite/24521 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols" message.
Diffstat (limited to 'gdb/testsuite/gdb.multi')
-rw-r--r--gdb/testsuite/gdb.multi/remove-inferiors.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.multi/remove-inferiors.exp b/gdb/testsuite/gdb.multi/remove-inferiors.exp
index ec13ce5..18f6c90 100644
--- a/gdb/testsuite/gdb.multi/remove-inferiors.exp
+++ b/gdb/testsuite/gdb.multi/remove-inferiors.exp
@@ -49,8 +49,9 @@ proc test_remove_inferiors { } {
# Load binfile and start the inferior.
set binfile_re [string_to_regexp ${binfile}]
gdb_test "file ${binfile}" \
- "Reading symbols from ${binfile_re}..." \
- "load binary"
+ [multi_line "Reading symbols from ${binfile_re}\.\.\.(" \
+ "Expanding full symbols from ${binfile_re}\.\.\.)?" ] \
+ "load binary"
if {![runto_main]} {
fail "couldn't run to main."