aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRichard Bunt <richard.bunt@linaro.org>2023-12-05 09:54:12 +0000
committerRichard Bunt <richard.bunt@linaro.org>2023-12-05 16:51:21 +0000
commit66e00622a89a0fd1c37539a72c6cdd7c6bd334e7 (patch)
tree10688f2614822448d787b80decde522615519204 /gdb
parentdcdb91b3a663417ed4b51d9a145c76268541127b (diff)
downloadgdb-66e00622a89a0fd1c37539a72c6cdd7c6bd334e7.zip
gdb-66e00622a89a0fd1c37539a72c6cdd7c6bd334e7.tar.gz
gdb-66e00622a89a0fd1c37539a72c6cdd7c6bd334e7.tar.bz2
gdb/testsuite: Update worker thread show assertion
Commit 33ae45434d0 updated the text reported by GDB when showing the number of worker threads. However, it neglected to update the assertions using this text, which caused index-file.exp to fail. This commit corrects this omission. Tested index-file.exp is fixed on my local machine. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index d0990dc..7e478ab 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -10031,7 +10031,7 @@ proc is_target_non_stop { {testname ""} } {
proc gdb_get_worker_threads { {testname ""} } {
set worker_threads "UNKNOWN"
gdb_test_multiple "maintenance show worker-threads" $testname {
- -wrap -re "^The number of worker threads GDB can use is unlimited \\(currently ($::decimal)\\)\\." {
+ -wrap -re "^The number of worker threads GDB can use is the default \\(currently ($::decimal)\\)\\." {
set worker_threads $expect_out(1,string)
}
-wrap -re "^The number of worker threads GDB can use is ($::decimal)\\." {