aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.linespec/ls-errs.exp4
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d12bd9e..511e0c6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-06-13 Keith Seitz <keiths@redhat.com>
+
+ PR breakpoints/13798 and mi/11541
+ * gdb.linespec/ls-errs.exp: Add a few more tests for
+ filenames with spaces and colons.
+
2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
diff --git a/gdb/testsuite/gdb.linespec/ls-errs.exp b/gdb/testsuite/gdb.linespec/ls-errs.exp
index 21e01bf..8ced8c6 100644
--- a/gdb/testsuite/gdb.linespec/ls-errs.exp
+++ b/gdb/testsuite/gdb.linespec/ls-errs.exp
@@ -116,7 +116,9 @@ foreach x [list "this_file_doesn't_exist.c" \
"\"this \"file\" has quotes.c\"" \
"'this \"file\" has quotes.c'" \
"'this 'file' has quotes.c'" \
- "\"this 'file' has quotes.c\""] {
+ "\"this 'file' has quotes.c\"" \
+ "\"spaces: and :colons.c\"" \
+ "'more: :spaces: :and colons::.c'"] {
# Remove any quoting from FILENAME for the error message.
add the_tests "$x:3" invalid_file [string trim $x \"']
}