Fix directory prefix in gdb.base/dso2dso.exp.
authorSandra Loosemore <sandra@codesourcery.com>
Fri, 18 Sep 2015 19:21:06 +0000 (12:21 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Fri, 18 Sep 2015 19:21:06 +0000 (12:21 -0700)
2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.base/dso2dso.exp: Don't use directory prefix when setting
the breakpoint.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dso2dso.exp

index 7eae863887ad2bb225a371b5c9d2823fda00b8f6..53c32e881d2190b6bc2265f009615b97e0f31e33 100644 (file)
@@ -1,3 +1,8 @@
+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
index 9dc92d2a97972253526c514ef777787ec4adc85f..2e787820d5c4ed7fd6d375e9e5e2bd02177cb396 100644 (file)
@@ -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 ().*"