diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-12-25 11:36:52 -0800 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-12-25 11:36:52 -0800 |
commit | 79fad5b803e22798bcb087066234a954d0ccdc60 (patch) | |
tree | 7cd86892403a76aefbe5d9c7c3985e1f88c584d9 /gdb/testsuite/lib | |
parent | 2023145711ca36f06258e07f4fa1c490efbbf37e (diff) | |
download | gdb-79fad5b803e22798bcb087066234a954d0ccdc60.zip gdb-79fad5b803e22798bcb087066234a954d0ccdc60.tar.gz gdb-79fad5b803e22798bcb087066234a954d0ccdc60.tar.bz2 |
Document that the PATTERN argument to gdb_test is optional.
2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* lib/gdb.exp (gdb_test): Update comments to clarify that the
PATTERN argument is optional.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 765ac83..5488c29 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -959,7 +959,9 @@ proc gdb_test_multiple { command message user_code } { # COMMAND is the command to execute, send to GDB with send_gdb. If # this is the null string no command is sent. # PATTERN is the pattern to match for a PASS, and must NOT include -# the \r\n sequence immediately before the gdb prompt. +# the \r\n sequence immediately before the gdb prompt. This argument +# may be omitted to just match the prompt, ignoring whatever output +# precedes it. # MESSAGE is an optional message to be printed. If this is # omitted, then the pass/fail messages use the command string as the # message. (If this is the empty string, then sometimes we don't |