summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-05-16 10:13:33 +0000
committerPedro Alves <palves@redhat.com>2013-05-16 10:13:33 +0000
commit7353e382d81309bf17cc4addd99ef6e52df49150 (patch)
treed6a131a397260f026afadee83bc77cddb3dc3fed /gdb/testsuite/gdb.ada
parent10853ff1dc86eb6f331f4c7b175d1cb0308b19d0 (diff)
downloadgdb-7353e382d81309bf17cc4addd99ef6e52df49150.tar.gz
gdb.ada/complete.exp: Fix FIXME.
2013-05-16 Pedro Alves <palves@redhat.com> * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in comment. Use gdb_test_no_output.
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r--gdb/testsuite/gdb.ada/complete.exp7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.ada/complete.exp b/gdb/testsuite/gdb.ada/complete.exp
index 91859085e06..1b0e87bc12e 100644
--- a/gdb/testsuite/gdb.ada/complete.exp
+++ b/gdb/testsuite/gdb.ada/complete.exp
@@ -38,13 +38,10 @@ proc test_gdb_complete { expr expected_output } {
}
# A convenience function that verifies that the "complete EXPR" command
-# does not genearte any output.
+# does not generate any output.
proc test_gdb_no_completion { expr } {
- # FIXME: brobecker/2007-12-27: How do you verify that the command
- # output is actually really empty??? For now, the following does
- # not verify this at all:
- test_gdb_complete "$expr" ""
+ gdb_test_no_output "complete p $expr"
}
# A convenience function that joins all the arguments together,