This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Generalize filename pattern in gdb.mi/mi-dprintf-pending.exp.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3f469b177da53a0e63d3fe3cfb4fac91e921de3d

commit 3f469b177da53a0e63d3fe3cfb4fac91e921de3d
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Fri Sep 18 09:22:02 2015 -0700

    Generalize filename pattern in gdb.mi/mi-dprintf-pending.exp.
    
    2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
    
    	gdb/testsuite/
    	* gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
    	in breakpoint filename pattern.

Diff:
---
 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 7d3dc6d..1535b46 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
 
+	* gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
+	in breakpoint filename pattern.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
 	* gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
 
 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
diff --git a/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp b/gdb/testsuite/gdb.mi/mi-dprintf-pending.exp
index 5bb4a1b..a4a1709 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]