mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
[gdb/testsuite] Fix regexp in gdb.threads/dlopen-libpthread.exp
Fix regexp in gdb.threads/dlopen-libpthread.exp: 'libpthread\\.so' -> '/libpthread\\.so'. Tested on x86_64-linux.
This commit is contained in:

committed by
Tom de Vries

parent
1b9876fa8d
commit
1b9af5b949
@ -68,14 +68,14 @@ if { !$have_probe } {
|
|||||||
# due to LD_PRELOAD.
|
# due to LD_PRELOAD.
|
||||||
set libpthread_maybe_preloaded 0
|
set libpthread_maybe_preloaded 0
|
||||||
set binfile [standard_output_file $executable]
|
set binfile [standard_output_file $executable]
|
||||||
if { [has_dependency $binfile libpthread\\.so] == 1 } {
|
if { [has_dependency $binfile /libpthread\\.so] == 1 } {
|
||||||
set libpthread_maybe_preloaded 1
|
set libpthread_maybe_preloaded 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# We link the shlib with -lpthread, but since glibc 2.34 libpthread has been
|
# We link the shlib with -lpthread, but since glibc 2.34 libpthread has been
|
||||||
# merged with libc, so libpthread.so may not be a dependency.
|
# merged with libc, so libpthread.so may not be a dependency.
|
||||||
set libpthread_missing 0
|
set libpthread_missing 0
|
||||||
if { [has_dependency $binfile_lib libpthread\\.so] == 0 } {
|
if { [has_dependency $binfile_lib /libpthread\\.so] == 0 } {
|
||||||
set libpthread_missing 1
|
set libpthread_missing 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user