* gdb.cp/overload.exp: Test that the filename portion of a linespec

can be quoted.  Test that both the filename and function/line
	portions can be quoted at the same time.
This commit is contained in:
Keith Seitz 2010-03-04 18:38:17 +00:00
parent 1b93ff13d3
commit 0c199f28ac
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-03-04 Keith Seitz <keiths@redhat.com>
* gdb.cp/overload.exp: Test that the filename portion of a linespec
can be quoted. Test that both the filename and function/line
portions can be quoted at the same time.
2010-03-04 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.

View File

@ -299,6 +299,8 @@ gdb_test "list ${srcfile}:intToChar" "int intToChar.*"
gdb_test "list ${srcfile}:intToChar(char)" "int intToChar.*"
gdb_test "list ${srcfile}:'intToChar(char)'" "int intToChar.*"
gdb_test "list '${srcfile}:intToChar(char)'" "int intToChar.*"
gdb_test "list '${srcfile}':intToChar(char)" "int intToChar.*"
gdb_test "list '${srcfile}':'intToChar(char)'" "int intToChar.*"
# And with filename and namespace... which does not work.