diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 196791ac897..b5e4c986bd0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-03-04 Keith Seitz + + * 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 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New. diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp index ae8fd2652ad..c6d8bffe49f 100644 --- a/gdb/testsuite/gdb.cp/overload.exp +++ b/gdb/testsuite/gdb.cp/overload.exp @@ -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.