aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/break-interp.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-10-12 18:12:49 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-10-12 18:12:49 +0000
commitd8b34041e09e904a242f922f3f09d2837399e415 (patch)
tree235d4313b76252f663e137f30c8801a628b11ab9 /gdb/testsuite/gdb.base/break-interp.exp
parente0cc584ecf55a751d86ba66224af3e50e32fbb5f (diff)
downloadgdb-d8b34041e09e904a242f922f3f09d2837399e415.zip
gdb-d8b34041e09e904a242f922f3f09d2837399e415.tar.gz
gdb-d8b34041e09e904a242f922f3f09d2837399e415.tar.bz2
gdb/testsuite/
* gdb.base/break-interp.exp: Use ldlags for linking flags. * gdb.base/prelink.exp: Likewise. * gdb.base/solib-nodir.exp: Likewise. * lib/gdb.exp (gdb_compile) <*-*-openbsd*> (gdb_compile) <shlib_load>: Use ldlags for linking flags. * lib/prelink-support.exp (build_executable_own_libs): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/break-interp.exp')
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index 904fbcf..d3bda44 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -35,7 +35,7 @@ if [get_compiler_info ${binfile_lib}] {
# Use -soname so that the new library gets copied by build_executable_own_libs.
-if {[gdb_compile_shlib ${srcdir}/${subdir}/${srcfile_lib} ${binfile_lib} [list debug additional_flags=-Wl,-soname,${test}.so]] != ""} {
+if {[gdb_compile_shlib ${srcdir}/${subdir}/${srcfile_lib} ${binfile_lib} [list debug ldflags=-Wl,-soname,${test}.so]] != ""} {
return -1
}
@@ -622,7 +622,7 @@ foreach ldprelink {NO YES} {
set pf_prefix $old_binprefix
lappend pf_prefix "$binname:"
- set opts "additional_flags=-Wl,$binfile_lib,-rpath,[file dirname $binfile_lib]"
+ set opts "ldflags=-Wl,$binfile_lib,-rpath,[file dirname $binfile_lib]"
if {$binsepdebug != "NO"} {
lappend opts {debug}
}