aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2010-03-04 18:38:17 +0000
committerKeith Seitz <keiths@redhat.com>2010-03-04 18:38:17 +0000
commit0c199f28accb092464adf46d9c14786e22fd704a (patch)
tree47e0c50bf913c36df37c782f8e7a9fe53eebc824 /gdb/testsuite
parent1b93ff13d3021712cf8629be000570ae5791414b (diff)
downloadgdb-0c199f28accb092464adf46d9c14786e22fd704a.zip
gdb-0c199f28accb092464adf46d9c14786e22fd704a.tar.gz
gdb-0c199f28accb092464adf46d9c14786e22fd704a.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.cp/overload.exp2
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 196791a..b5e4c98 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
index ae8fd26..c6d8bff 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.