gdb.mi/list-thread-groups-available.exp: read entries one by one instead of increasin...
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 14 Oct 2019 04:37:30 +0000 (00:37 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 14 Oct 2019 16:12:24 +0000 (12:12 -0400)
commit9223170f68f85787b9cd85e76d3bac3eaa69cafb
tree701269c506c632fb511b9e136ef4e81688e1f757
parent6acc1a0b9d3dd16741474891eddbf77415cd70b1
gdb.mi/list-thread-groups-available.exp: read entries one by one instead of increasing timeout

Commit 580f1034 ("Increase timeout in
gdb.mi/list-thread-groups-available.exp") changed
gdb.mi/list-thread-groups-available.exp to significantly increase the
timeout, which was necessary for when running with make check-read1.

Pedro suggested a better alternative, which is to use gdb_test_multiple
and consume one entry at a time.  This patch does that.

gdb/testsuite/ChangeLog:

* gdb.mi/list-thread-groups-available.exp: Read entries one by
one instead of increasing timeout.

Change-Id: I51b689458503240f24e401f054e6583d9172ebdf
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/list-thread-groups-available.exp