OSDN Git Service

* lib/gdb.exp (gdb_test): Doc fix.
authorjimb <jimb>
Thu, 14 Jun 2001 00:12:31 +0000 (00:12 +0000)
committerjimb <jimb>
Thu, 14 Jun 2001 00:12:31 +0000 (00:12 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 464ac26..3a36f34 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-13  Jim Blandy  <jimb@redhat.com>
+
+       * lib/gdb.exp (gdb_test): Doc fix.
+
 2001-06-10  Michael Chastain  <chastain@redhat.com>
 
        * gdb.base/exprs.exp: Remove a duplicate test.
index 7ac1d1d..73df80f 100644 (file)
@@ -371,7 +371,8 @@ proc gdb_continue_to_breakpoint {name} {
 
 
 
-# gdb_test COMMAND PATTERN MESSAGE -- send a command to gdb; test the result.
+# gdb_test COMMAND PATTERN MESSAGE QUESTION RESPONSE
+# Send a command to gdb; test the result.
 #
 # COMMAND is the command to execute, send to GDB with send_gdb.  If
 #   this is the null string no command is sent.
@@ -381,6 +382,9 @@ proc gdb_continue_to_breakpoint {name} {
 #   omitted, then the pass/fail messages use the command string as the
 #   message.  (If this is the empty string, then sometimes we don't
 #   call pass or fail at all; I don't understand this at all.)
+# QUESTION is a question GDB may ask in response to COMMAND, like
+#   "are you sure?"
+# RESPONSE is the response to send if QUESTION appears.
 #
 # Returns:
 #    1 if the test failed,