From a9c4e865c5fcae56459f3d01c44c968fad2335be Mon Sep 17 00:00:00 2001 From: kseitz Date: Fri, 5 Mar 2010 03:38:15 +0000 Subject: [PATCH] * 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. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.cp/overload.exp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 196791ac89..b5e4c986bd 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 ae8fd2652a..c6d8bffe49 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. -- 2.11.0