]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Update infrun regexp in gdb.base/watch_thread_num.exp
authorTom de Vries <tdevries@suse.de>
Tue, 11 May 2021 12:22:11 +0000 (14:22 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 11 May 2021 12:22:11 +0000 (14:22 +0200)
commit5048549af94ccac1ac76de35120c2e85c44d3391
tree66eca0804d5e04f283beea3831b85178d3a1a2cb
parent2302f963547cd43c2d3b97491d5ef16be6b783a5
[gdb/testsuite] Update infrun regexp in gdb.base/watch_thread_num.exp

The test-case gdb.base/watch_thread_num.exp contains an infrun regexp:
...
       -re "infrun:" {
...
which doesn't trigger because:
- the test-case doesn't contain "set debug infrun 1", and
- if we hack the test-case to add this, the regexp doesn't match
  because "[infrun] " is printed instead.

Make the test pass with "set debug infrun 1" and add the setting commented
out.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2021-05-11  Tom de Vries  <tdevries@suse.de>

* gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
Add "set debug infrun 1" commented out.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watch_thread_num.exp