diff options
author | Keith Seitz <keiths@redhat.com> | 2012-06-13 18:06:07 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-06-13 18:06:07 +0000 |
commit | f3b5e28044f6033220a7935ce4d1437a0c5ab38a (patch) | |
tree | 5c95468ec35001a31432f724e156345008441e7f | |
parent | 50af5481d5feece564c8b03bfb4a647dc7573f3c (diff) | |
download | gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.zip gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.tar.gz gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.tar.bz2 |
PR breakpoints/13798 and mi/11541
* gdb.linespec/ls-errs.exp: Add a few more tests for
filenames with spaces and colons.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.linespec/ls-errs.exp | 4 |
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 \"'] } |