From 3f469b177da53a0e63d3fe3cfb4fac91e921de3d Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Fri, 18 Sep 2015 09:22:02 -0700 Subject: [PATCH] Generalize filename pattern in gdb.mi/mi-dprintf-pending.exp. 2015-09-18 Sandra Loosemore gdb/testsuite/ * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix in breakpoint filename pattern. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.mi/mi-dprintf-pending.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7d3dc6d69fc..1535b46c509 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-18 Sandra Loosemore + + * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix + in breakpoint filename pattern. + 2015-09-18 Sandra Loosemore * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. diff --git a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp index 5bb4a1b2e0f..a4a1709b291 100644 --- a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp @@ -60,7 +60,7 @@ mi_gdb_test "-dprintf-insert -f pendfunc1 \"hello\"" \ "mi set dprintf" mi_create_breakpoint $bp_location1 "mi insert breakpoint bp_location1" \ - -type "breakpoint" -line $bp_location1 -file $srcdir/$subdir/$srcfile + -type "breakpoint" -line $bp_location1 -file ".*$srcfile" mi_run_cmd -- 2.30.2