aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-09-18 09:22:02 -0700
committerSandra Loosemore <sandra@codesourcery.com>2015-09-18 09:22:02 -0700
commit3f469b177da53a0e63d3fe3cfb4fac91e921de3d (patch)
tree5e88365876eda87ed28a72b30ee945cd031f0bb3
parent7800dbe4301d831dd81a469107eb5f0e1bd0b927 (diff)
downloadgdb-3f469b177da53a0e63d3fe3cfb4fac91e921de3d.zip
gdb-3f469b177da53a0e63d3fe3cfb4fac91e921de3d.tar.gz
gdb-3f469b177da53a0e63d3fe3cfb4fac91e921de3d.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/mi-dprintf-pending.exp2
2 files changed, 6 insertions, 1 deletions
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