]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: improve test regexp in gdb_get_worker_threads
authorAndrew Burgess <aburgess@redhat.com>
Tue, 28 Nov 2023 18:17:23 +0000 (18:17 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 28 Nov 2023 18:20:25 +0000 (18:20 +0000)
commitb489eb90880aadadcbacfa2d9ed129732eebd834
treeb9d3b7c53e7a76aae3db8dbf43a1a301d25d7e44
parent0f2fd473202983f368bfc4a4fa1c365c231c4b2f
gdb/testsuite: improve test regexp in gdb_get_worker_threads

I spotted I made a small mistake in this commit:

  commit aff250145af6c7a8ea9332bc1306c1219f4a63db
  Date:   Fri Nov 24 12:04:36 2023 +0000

      gdb: generate gdb-index identically regardless of work thread count

In this commit I added a new proc in testsuite/lib/gdb.exp called
gdb_get_worker_threads.  This proc uses gdb_test_multiple with two
possible patterns.  One pattern is anchored with '^', while the other
is missing the '^' which it could use.

This commit adds the missing '^'.
gdb/testsuite/lib/gdb.exp