summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/step-over-exec.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/step-over-exec.exp')
-rw-r--r--gdb/testsuite/gdb.threads/step-over-exec.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/step-over-exec.exp b/gdb/testsuite/gdb.threads/step-over-exec.exp
index 9e252e65f97..783f865585c 100644
--- a/gdb/testsuite/gdb.threads/step-over-exec.exp
+++ b/gdb/testsuite/gdb.threads/step-over-exec.exp
@@ -47,8 +47,8 @@ proc do_test { execr_thread different_text_segments displaced_stepping } {
set execd_opts [list debug]
if { $different_text_segments } {
- lappend execr_opts "ldflags=-Wl,-Ttext-segment=0x600000"
- lappend execd_opts "ldflags=-Wl,-Ttext-segment=0x800000"
+ lappend execr_opts "text_segment=0x600000"
+ lappend execd_opts "text_segment=0x800000"
}
if { $execr_thread == "leader" } {