aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-06-14 00:12:32 +0000
committerJim Blandy <jimb@codesourcery.com>2001-06-14 00:12:32 +0000
commit8dbfb380f7e3aadb00468afb68967d0cbdf981ff (patch)
treef2e60bd6b9467482b7c5957a899e5b32cdc56dc8 /gdb
parent3cf44cbedd2e167ea6fd8963cba494ce51d6a599 (diff)
downloadfsf-binutils-gdb-8dbfb380f7e3aadb00468afb68967d0cbdf981ff.zip
fsf-binutils-gdb-8dbfb380f7e3aadb00468afb68967d0cbdf981ff.tar.gz
fsf-binutils-gdb-8dbfb380f7e3aadb00468afb68967d0cbdf981ff.tar.bz2
* lib/gdb.exp (gdb_test): Doc fix.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp6
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 464ac26..3a36f34 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 7ac1d1d..73df80f 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,