From f1fa889ee67f306a9aeb681ab943fea203dab83d Mon Sep 17 00:00:00 2001 From: jimb Date: Thu, 14 Jun 2001 00:12:31 +0000 Subject: [PATCH] * lib/gdb.exp (gdb_test): Doc fix. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/gdb.exp | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 464ac26708..3a36f34c97 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 7ac1d1d12d..73df80f53a 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, -- 2.11.0