From: Sandra Loosemore Date: Fri, 25 Dec 2015 19:36:52 +0000 (-0800) Subject: Document that the PATTERN argument to gdb_test is optional. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79fad5b803e22798bcb087066234a954d0ccdc60;p=binutils-gdb.git Document that the PATTERN argument to gdb_test is optional. 2015-12-25 Sandra Loosemore gdb/testsuite/ * lib/gdb.exp (gdb_test): Update comments to clarify that the PATTERN argument is optional. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eb355b9f60a..3970b2e1e33 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-25 Sandra Loosemore + + * lib/gdb.exp (gdb_test): Update comments to clarify that the + PATTERN argument is optional. + 2015-12-24 Joel Brobecker * lib/ada.exp (target_compile_ada_from_dir): New function. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 765ac839a37..5488c297865 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