From: Jim Blandy Date: Thu, 14 Jun 2001 00:12:32 +0000 (+0000) Subject: * lib/gdb.exp (gdb_test): Doc fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dbfb380f7e3aadb00468afb68967d0cbdf981ff;p=binutils-gdb.git * lib/gdb.exp (gdb_test): Doc fix. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 464ac26708a..3a36f34c978 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-06-13 Jim Blandy + + * lib/gdb.exp (gdb_test): Doc fix. + 2001-06-10 Michael Chastain * gdb.base/exprs.exp: Remove a duplicate test. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 7ac1d1d12d6..73df80f53a7 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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,