]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Allow TLS access to work in gdb.server/no-thread-db.exp
authorKevin Buettner <kevinb@redhat.com>
Thu, 24 Apr 2025 04:39:28 +0000 (21:39 -0700)
committerKevin Buettner <kevinb@redhat.com>
Thu, 24 Apr 2025 16:54:42 +0000 (09:54 -0700)
commite1bedd1b21ec7c3445eafe7cb4557ff6563e7f3b
treea148be0f02371b4b83540294574c62cc36fcda07
parent8b87fe90e81f933b7c88e1ea25b02426ee3f58eb
Allow TLS access to work in gdb.server/no-thread-db.exp

The patches later in the series add GDB-internal TLS support for
certain targets.  This commit updates the "print foo" test in
gdb.server/no-thread-db.exp to accept either a TLS failure (when
libthread_db isn't available) or printing the correct answer, which
will occur when GDB's internal TLS address resolution can be used.

I'm making this change prior to the commits which actually add
the GDB-internal TLS support in order to avoid tripping regression
testers.

Tested-By: Luis Machado <luis.machado@arm.com>
Approved-By: Luis Machado <luis.machado@arm.com>
gdb/testsuite/gdb.server/no-thread-db.exp