From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id A55B63858C83; Wed, 11 Jan 2023 17:37:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A55B63858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673458644; bh=02P5mrYOf2Emtyzw+JKIxEQKDiCTCFEoKI8oM5rbs5k=; h=From:To:Subject:Date:From; b=EUdheGbYCSE5EcZ7tJVPoDuY+TVwmVDloh8B3TmQInFnHlSWkdWMK9o1N7HfYqy7e a5tp8rFB8akZb7NS/RVK4lPdq/dmP15Xf1D9NRXy2B7GCkGMnbIHp2sAtIQ4sN5vNs wFKg1wk/w0yut2y+Hh057K5LdDtIsfN5krbuPom8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/testsuite] Fix regexp in gdb.threads/dlopen-libpthread.exp X-Act-Checkin: binutils-gdb X-Git-Author: Simon Marchi X-Git-Refname: refs/heads/master X-Git-Oldrev: 1b9876fa8d28c152846e441400c02445bffa1653 X-Git-Newrev: 1b9af5b949bff0c750ededb459400c1857fec416 Message-Id: <20230111173724.A55B63858C83@sourceware.org> Date: Wed, 11 Jan 2023 17:37:24 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1b9af5b949bf= f0c750ededb459400c1857fec416 commit 1b9af5b949bff0c750ededb459400c1857fec416 Author: Simon Marchi Date: Wed Jan 11 18:37:20 2023 +0100 [gdb/testsuite] Fix regexp in gdb.threads/dlopen-libpthread.exp =20 Fix regexp in gdb.threads/dlopen-libpthread.exp: 'libpthread\\.so' -> '/libpthread\\.so'. =20 Tested on x86_64-linux. Diff: --- gdb/testsuite/gdb.threads/dlopen-libpthread.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.threads/dlopen-libpthread.exp b/gdb/testsuit= e/gdb.threads/dlopen-libpthread.exp index 134265ff470..c97e0284475 100644 --- a/gdb/testsuite/gdb.threads/dlopen-libpthread.exp +++ b/gdb/testsuite/gdb.threads/dlopen-libpthread.exp @@ -68,14 +68,14 @@ if { !$have_probe } { # due to LD_PRELOAD. set libpthread_maybe_preloaded 0 set binfile [standard_output_file $executable] -if { [has_dependency $binfile libpthread\\.so] =3D=3D 1 } { +if { [has_dependency $binfile /libpthread\\.so] =3D=3D 1 } { set libpthread_maybe_preloaded 1 } =20 # We link the shlib with -lpthread, but since glibc 2.34 libpthread has be= en # merged with libc, so libpthread.so may not be a dependency. set libpthread_missing 0 -if { [has_dependency $binfile_lib libpthread\\.so] =3D=3D 0 } { +if { [has_dependency $binfile_lib /libpthread\\.so] =3D=3D 0 } { set libpthread_missing 1 }