aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-09-18 12:21:06 -0700
committerSandra Loosemore <sandra@codesourcery.com>2015-09-18 12:21:06 -0700
commit26b188a2db6345f70985d27ef91ebc30725424ea (patch)
tree8287c0373595fa689aebca88a09831d2850e7a19
parent79dc332ba2db30e02e816f6ecbffca548f2f6c30 (diff)
downloadgdb-26b188a2db6345f70985d27ef91ebc30725424ea.zip
gdb-26b188a2db6345f70985d27ef91ebc30725424ea.tar.gz
gdb-26b188a2db6345f70985d27ef91ebc30725424ea.tar.bz2
Fix directory prefix in gdb.base/dso2dso.exp.
2015-09-18 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.base/dso2dso.exp: Don't use directory prefix when setting the breakpoint.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/dso2dso.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7eae863..53c32e8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
+ * gdb.base/dso2dso.exp: Don't use directory prefix when setting
+ the breakpoint.
+
+2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
+
* gdb.mi/mi-pending.exp: Don't use directory prefix when setting
the pending breakpoint. Remove timeout override for "Run till
MI pending breakpoint on pendfunc3 on thread 2" test.
diff --git a/gdb/testsuite/gdb.base/dso2dso.exp b/gdb/testsuite/gdb.base/dso2dso.exp
index 9dc92d2..2e78782 100644
--- a/gdb/testsuite/gdb.base/dso2dso.exp
+++ b/gdb/testsuite/gdb.base/dso2dso.exp
@@ -64,7 +64,7 @@ if { ![runto_main] } {
}
set bp_location [gdb_get_line_number "STOP HERE" [file tail $srcfile_libdso1]]
-gdb_breakpoint ${srcfile_libdso1}:${bp_location}
+gdb_breakpoint ${libdso1}.c:${bp_location}
gdb_continue_to_breakpoint "at call to sub2" \
".*sub2 ().*"