From 0c199f28accb092464adf46d9c14786e22fd704a Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 4 Mar 2010 18:38:17 +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 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. -- 2.30.2