From: Keith Seitz Date: Wed, 13 Jun 2012 18:06:07 +0000 (+0000) Subject: PR breakpoints/13798 and mi/11541 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3b5e28044f6033220a7935ce4d1437a0c5ab38a;p=binutils-gdb.git PR breakpoints/13798 and mi/11541 * gdb.linespec/ls-errs.exp: Add a few more tests for filenames with spaces and colons. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d12bd9e8cab..511e0c66c94 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-06-13 Keith Seitz + + 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 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 21e01bf379d..8ced8c6f033 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 \"'] }