[PATCH 2/2] [gdb/testsuite] Fix FAIL in gdb.base/annota1.exp

Simon Marchi simark@simark.ca
Wed Oct 6 20:51:38 GMT 2021


On 2021-10-06 11:33 a.m., Tom de Vries via Gdb-patches wrote:
> 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.

The patches LGTM.  Do you know why you see this message for a single
threaded program?  Is it related to gcc/glibc now always linking against
libpthread (or libpthread being merged into libc, I don't remember)?

Simon


More information about the Gdb-patches mailing list