From 26b188a2db6345f70985d27ef91ebc30725424ea Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Fri, 18 Sep 2015 12:21:06 -0700 Subject: [PATCH] Fix directory prefix in gdb.base/dso2dso.exp. 2015-09-18 Sandra Loosemore gdb/testsuite/ * gdb.base/dso2dso.exp: Don't use directory prefix when setting the breakpoint. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/dso2dso.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7eae863887..53c32e881d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-18 Sandra Loosemore + + * gdb.base/dso2dso.exp: Don't use directory prefix when setting + the breakpoint. + 2015-09-18 Sandra Loosemore * gdb.mi/mi-pending.exp: Don't use directory prefix when setting diff --git a/gdb/testsuite/gdb.base/dso2dso.exp b/gdb/testsuite/gdb.base/dso2dso.exp index 9dc92d2a97..2e787820d5 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 ().*"