[gdb/testsuite] Fix internal buffer full error in gdb.base/info-types.exp
authorTom de Vries <tdevries@suse.de>
Thu, 12 Mar 2020 13:58:57 +0000 (14:58 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 12 Mar 2020 13:58:57 +0000 (14:58 +0100)
commit09252140293763eaa230314dee27f605a37154d4
tree09f202bfbfb806be95a590d06b6aba5facdb66ed
parent14e9c72c334205c0171d62e716c1fb65472a0eab
[gdb/testsuite] Fix internal buffer full error in gdb.base/info-types.exp

With test-case gdb.base/info-types.exp, I run into:
...
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/info-types.exp: l=c: info types
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/info-types.exp: l=c++: info types
...

Fix this by using exp_continue while matching the output of "info types".

Tested on x86_64-linux, using make targets check and check-read1.

gdb/testsuite/ChangeLog:

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

* gdb.base/info-types.exp: Use exp_continue during matching of output
of "info types".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/info-types.exp