[gdb/testsuite] Fix FAIL in gdb.base/annota1.exp
authorTom de Vries <tdevries@suse.de>
Thu, 7 Oct 2021 03:45:32 +0000 (05:45 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 7 Oct 2021 03:45:32 +0000 (05:45 +0200)
commitc0ae8ccdba58cb781fa953bfa286b5dcbb856b2b
tree396b9f66b112f33db3a02e07d21cb81fc9b61a28
parentcf4505a7ec012daa6c22aacc4a785c9346ed6372
[gdb/testsuite] Fix FAIL in gdb.base/annota1.exp

On openSUSE tumbleweed I run into:
...
FAIL: gdb.base/annota1.exp: run until main breakpoint (timeout)
...
due to a message related to libthread_db:
...
^Z^Zstarting^M
[Thread debugging using libthread_db enabled]^M
Using host libthread_db library "/lib64/libthread_db.so.1".^M
^M
^Z^Zframes-invalid^M
...
which is not matched by the regexp.

Fix this by updating the regexp.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/annota1.exp