aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.guile
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-05-19 14:02:08 +0200
committerTom de Vries <tdevries@suse.de>2021-05-19 14:02:08 +0200
commit2129a94255348900a6a0d03be9c1a6771ce7e2e6 (patch)
tree7ea655628160055815886bbf0648970538ae733f /gdb/testsuite/gdb.guile
parentc485e4759929a9f64d36b49600626bd912dcf335 (diff)
downloadgdb-2129a94255348900a6a0d03be9c1a6771ce7e2e6.zip
gdb-2129a94255348900a6a0d03be9c1a6771ce7e2e6.tar.gz
gdb-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/testsuite/gdb.guile')
0 files changed, 0 insertions, 0 deletions