diff options
author | Tom de Vries <tdevries@suse.de> | 2021-05-19 14:02:08 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-05-19 14:02:08 +0200 |
commit | 2129a94255348900a6a0d03be9c1a6771ce7e2e6 (patch) | |
tree | 7ea655628160055815886bbf0648970538ae733f /gdb/ada-lang.c | |
parent | c485e4759929a9f64d36b49600626bd912dcf335 (diff) | |
download | binutils-2129a94255348900a6a0d03be9c1a6771ce7e2e6.zip binutils-2129a94255348900a6a0d03be9c1a6771ce7e2e6.tar.gz binutils-2129a94255348900a6a0d03be9c1a6771ce7e2e6.tar.bz2 |
[gdb/testsuite] Fix read1 timeout in gdb.base/info-types-c++.exp
When running test-case gdb.base/info-types-c++.exp with check-read1 I run
into:
...
425: typedef const void * std::allocator_traits<std::allocator<std::\
_Sp_counted_ptr_inplace<std::filesystem::__cxx11::\
recursive_directory_iterator::_Dir_stack, std::allocator<std::filesystem::\
__cxx11::recursive_directory_iterator::_Dir_stack>, \
FAIL: gdb.base/info-types-c++.exp: info types (timeout)
...
The corresponding gdb_test_multiple does contain an exp_continue which
resets the timeout counter every time info for another file is printed, but
this doesn't help for this timeout because it times out during printing info
for a single file.
Fix this by processing line-by-line.
Tested on x86_64-linux, both with gcc-7.5.0 and gcc-4.8.5 (the latter is
different because the "unsigned int" type is missing).
gdb/testsuite/ChangeLog:
2021-05-19 Tom de Vries <tdevries@suse.de>
* gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions