From: Keith Seitz Date: Thu, 4 Mar 2010 18:38:17 +0000 (+0000) Subject: * gdb.cp/overload.exp: Test that the filename portion of a linespec X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c199f28accb092464adf46d9c14786e22fd704a;p=binutils-gdb.git * 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. --- 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.