From patchwork Fri Nov 25 20:54:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Machado X-Patchwork-Id: 17940 Received: (qmail 111348 invoked by alias); 25 Nov 2016 20:55:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 111282 invoked by uid 89); 25 Nov 2016 20:55:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Nov 2016 20:54:40 +0000 Received: from svr-orw-fem-03.mgc.mentorg.com ([147.34.97.39]) by relay1.mentorg.com with esmtp id 1cANVj-0003VQ-7Q from Luis_Gustavo@mentor.com for gdb-patches@sourceware.org; Fri, 25 Nov 2016 12:54:19 -0800 Received: from Opsys.world.mentorg.com (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.3.224.2; Fri, 25 Nov 2016 12:54:18 -0800 From: Luis Machado To: Subject: [PATCH v2 5/8] Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test Date: Fri, 25 Nov 2016 14:54:01 -0600 Message-ID: <1480107244-1484-6-git-send-email-lgustavo@codesourcery.com> In-Reply-To: <1480107244-1484-1-git-send-email-lgustavo@codesourcery.com> References: <1480107244-1484-1-git-send-email-lgustavo@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes This fixes offender testcases that have test names starting with uppercase when using gdb_test/mi_gdb_test in a multi-line construct. gdb/testsuite/ChangeLog 2016-11-25 Luis Machado Fix test names starting with uppercase throughout the files. * gdb/testsuite/gdb.ada/array_return.exp * gdb/testsuite/gdb.ada/expr_delims.exp * gdb/testsuite/gdb.ada/mi_dyn_arr.exp * gdb/testsuite/gdb.ada/mi_interface.exp * gdb/testsuite/gdb.ada/mi_var_array.exp * gdb/testsuite/gdb.ada/watch_arg.exp * gdb/testsuite/gdb.arch/alpha-step.exp * gdb/testsuite/gdb.arch/altivec-regs.exp * gdb/testsuite/gdb.arch/e500-regs.exp * gdb/testsuite/gdb.arch/powerpc-d128-regs.exp * gdb/testsuite/gdb.base/arrayidx.exp * gdb/testsuite/gdb.base/break.exp * gdb/testsuite/gdb.base/checkpoint.exp * gdb/testsuite/gdb.base/debug-expr.exp * gdb/testsuite/gdb.base/dmsym.exp * gdb/testsuite/gdb.base/radix.exp * gdb/testsuite/gdb.base/sepdebug.exp * gdb/testsuite/gdb.base/testenv.exp * gdb/testsuite/gdb.base/watch_thread_num.exp * gdb/testsuite/gdb.base/watchpoint-cond-gone.exp * gdb/testsuite/gdb.cell/break.exp * gdb/testsuite/gdb.cell/ea-cache.exp * gdb/testsuite/gdb.compile/compile.exp * gdb/testsuite/gdb.cp/gdb2495.exp * gdb/testsuite/gdb.gdb/selftest.exp * gdb/testsuite/gdb.gdb/xfullpath.exp * gdb/testsuite/gdb.go/hello.exp * gdb/testsuite/gdb.go/integers.exp * gdb/testsuite/gdb.objc/basicclass.exp * gdb/testsuite/gdb.pascal/hello.exp * gdb/testsuite/gdb.pascal/integers.exp * gdb/testsuite/gdb.python/py-breakpoint.exp * gdb/testsuite/gdb.python/py-cmd.exp * gdb/testsuite/gdb.python/py-linetable.exp * gdb/testsuite/gdb.python/py-xmethods.exp * gdb/testsuite/gdb.python/python.exp * gdb/testsuite/gdb.reverse/consecutive-precsave.exp * gdb/testsuite/gdb.reverse/finish-precsave.exp * gdb/testsuite/gdb.reverse/i386-precsave.exp * gdb/testsuite/gdb.reverse/machinestate-precsave.exp * gdb/testsuite/gdb.reverse/sigall-precsave.exp * gdb/testsuite/gdb.reverse/solib-precsave.exp * gdb/testsuite/gdb.reverse/step-precsave.exp * gdb/testsuite/gdb.reverse/until-precsave.exp * gdb/testsuite/gdb.reverse/watch-precsave.exp * gdb/testsuite/gdb.threads/leader-exit.exp * gdb/testsuite/gdb.threads/pthreads.exp * gdb/testsuite/gdb.threads/wp-replication.exp * gdb/testsuite/gdb.trace/actions.exp * gdb/testsuite/gdb.trace/mi-tsv-changed.exp * gdb/testsuite/gdb.trace/tsv.exp --- gdb/testsuite/gdb.ada/array_return.exp | 6 +++--- gdb/testsuite/gdb.ada/expr_delims.exp | 10 +++++----- gdb/testsuite/gdb.ada/mi_dyn_arr.exp | 2 +- gdb/testsuite/gdb.ada/mi_interface.exp | 2 +- gdb/testsuite/gdb.ada/mi_var_array.exp | 2 +- gdb/testsuite/gdb.ada/watch_arg.exp | 4 ++-- gdb/testsuite/gdb.arch/alpha-step.exp | 2 +- gdb/testsuite/gdb.arch/altivec-regs.exp | 4 ++-- gdb/testsuite/gdb.arch/e500-regs.exp | 4 ++-- gdb/testsuite/gdb.arch/powerpc-d128-regs.exp | 6 +++--- gdb/testsuite/gdb.base/arrayidx.exp | 4 ++-- gdb/testsuite/gdb.base/break.exp | 4 ++-- gdb/testsuite/gdb.base/checkpoint.exp | 14 +++++++------- gdb/testsuite/gdb.base/debug-expr.exp | 2 +- gdb/testsuite/gdb.base/dmsym.exp | 2 +- gdb/testsuite/gdb.base/radix.exp | 10 +++++----- gdb/testsuite/gdb.base/sepdebug.exp | 6 +++--- gdb/testsuite/gdb.base/testenv.exp | 12 ++++++------ gdb/testsuite/gdb.base/watch_thread_num.exp | 2 +- gdb/testsuite/gdb.base/watchpoint-cond-gone.exp | 2 +- gdb/testsuite/gdb.cell/break.exp | 2 +- gdb/testsuite/gdb.cell/ea-cache.exp | 2 +- gdb/testsuite/gdb.compile/compile.exp | 10 +++++----- gdb/testsuite/gdb.cp/gdb2495.exp | 10 +++++----- gdb/testsuite/gdb.gdb/selftest.exp | 2 +- gdb/testsuite/gdb.gdb/xfullpath.exp | 2 +- gdb/testsuite/gdb.go/hello.exp | 4 ++-- gdb/testsuite/gdb.go/integers.exp | 2 +- gdb/testsuite/gdb.objc/basicclass.exp | 8 ++++---- gdb/testsuite/gdb.pascal/hello.exp | 4 ++-- gdb/testsuite/gdb.pascal/integers.exp | 2 +- gdb/testsuite/gdb.python/py-breakpoint.exp | 4 ++-- gdb/testsuite/gdb.python/py-cmd.exp | 2 +- gdb/testsuite/gdb.python/py-linetable.exp | 4 ++-- gdb/testsuite/gdb.python/py-xmethods.exp | 2 +- gdb/testsuite/gdb.python/python.exp | 2 +- gdb/testsuite/gdb.reverse/consecutive-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/finish-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/i386-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/machinestate-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/sigall-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/solib-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/step-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/until-precsave.exp | 2 +- gdb/testsuite/gdb.reverse/watch-precsave.exp | 2 +- gdb/testsuite/gdb.threads/leader-exit.exp | 2 +- gdb/testsuite/gdb.threads/pthreads.exp | 2 +- gdb/testsuite/gdb.threads/wp-replication.exp | 2 +- gdb/testsuite/gdb.trace/actions.exp | 2 +- gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 2 +- gdb/testsuite/gdb.trace/tsv.exp | 14 +++++++------- 51 files changed, 102 insertions(+), 102 deletions(-) diff --git a/gdb/testsuite/gdb.ada/array_return.exp b/gdb/testsuite/gdb.ada/array_return.exp index f4dae48..37f2845 100644 --- a/gdb/testsuite/gdb.ada/array_return.exp +++ b/gdb/testsuite/gdb.ada/array_return.exp @@ -52,7 +52,7 @@ gdb_test "break create_small_float_vector" \ gdb_test "cont" \ "Breakpoint \[0-9\]+, pck.create_small \\(\\).*" \ - "Continuing to Create_Small" + "continuing to Create_Small" gdb_test "finish" \ "Value returned is \\\$\[0-9\]+ = \\(1, 1\\)" \ @@ -63,7 +63,7 @@ gdb_test "finish" \ gdb_test "cont" \ "Breakpoint \[0-9\]+, pck.create_large \\(\\).*" \ - "Continuing to Create_Large" + "continuing to Create_Large" # On hppa32, the value returned is too large to be returned via a register. # Instead, it is returned using the struct convention, and the debugger @@ -82,7 +82,7 @@ gdb_test "finish" \ gdb_test "cont" \ "Breakpoint \[0-9\]+, pck.create_small_float_vector \\(\\).*" \ - "Continuing to Create_Small_Float_Vector" + "continuing to Create_Small_Float_Vector" gdb_test "finish" \ "Value returned is \\\$\[0-9\]+ = \\(4.25, 4.25\\)" \ diff --git a/gdb/testsuite/gdb.ada/expr_delims.exp b/gdb/testsuite/gdb.ada/expr_delims.exp index 4e1b962..921fb10 100644 --- a/gdb/testsuite/gdb.ada/expr_delims.exp +++ b/gdb/testsuite/gdb.ada/expr_delims.exp @@ -39,26 +39,26 @@ gdb_test "continue" \ # for an expression delimiter. gdb_test "print thread" \ "= 1" \ - "Print variable 'thread'" + "print variable 'thread'" gdb_test_no_output "delete 1" gdb_test "watch thread" \ ".*atchpoint \[0-9\]+: thread" \ - "Set plain watchpoint on variable 'thread'" + "set plain watchpoint on variable 'thread'" # Make sure that 'if' when followed by an expression beginning # with 'i' works. gdb_test "watch thread if i = 2" \ ".*atchpoint \[0-9\]+: thread" \ - "Set conditional watchpoint." + "set conditional watchpoint." gdb_test "info break" \ ".*${ws}.*atchpoint${ws}keep${ws}y${ws}thread${ws}.*atchpoint${ws}keep${ws}y${ws}thread${ws}stop only if i = 2" \ - "Check that watchpoint is set correctly." + "check that watchpoint is set correctly." # Check for right error when using both 'if' and 'thread' clauses. gdb_test "break foo.adb:$bp_location if thread = 10 thread 999" \ ".*Unknown thread 999\\." \ - "Combination of 'if' and 'thread' delimiters." + "combination of 'if' and 'thread' delimiters." diff --git a/gdb/testsuite/gdb.ada/mi_dyn_arr.exp b/gdb/testsuite/gdb.ada/mi_dyn_arr.exp index 9a7da6e..a8ce1f2 100644 --- a/gdb/testsuite/gdb.ada/mi_dyn_arr.exp +++ b/gdb/testsuite/gdb.ada/mi_dyn_arr.exp @@ -45,7 +45,7 @@ mi_continue_to_line \ mi_gdb_test "-var-create bt * bt" \ "\\^done,name=\"bt\",numchild=\"3\",.*" \ - "Create bt varobj" + "create bt varobj" mi_gdb_test "-var-update 1 *" \ "\\^done,changelist=\\\[\\\]" \ diff --git a/gdb/testsuite/gdb.ada/mi_interface.exp b/gdb/testsuite/gdb.ada/mi_interface.exp index 764236a..30c85f0 100644 --- a/gdb/testsuite/gdb.ada/mi_interface.exp +++ b/gdb/testsuite/gdb.ada/mi_interface.exp @@ -45,7 +45,7 @@ mi_continue_to_line \ mi_gdb_test "-var-create ggg1 * ggg1" \ "\\^done,name=\"ggg1\",numchild=\"1\",value=\"{...}\",type=\" pck.gadatatype\",has_more=\"0\"" \ - "Create ggg1 varobj" + "create ggg1 varobj" mi_gdb_test "-var-list-children 1 ggg1" \ "\\^done,numchild=\"1\",children=\\\[child={name=\"ggg1.i\",exp=\"i\",numchild=\"0\",value=\"42\",type=\"integer\"}\\\],has_more=\"0\"" \ diff --git a/gdb/testsuite/gdb.ada/mi_var_array.exp b/gdb/testsuite/gdb.ada/mi_var_array.exp index 3c7073f..01b7a61 100644 --- a/gdb/testsuite/gdb.ada/mi_var_array.exp +++ b/gdb/testsuite/gdb.ada/mi_var_array.exp @@ -45,7 +45,7 @@ mi_continue_to_line \ mi_gdb_test "-var-create vta * vta" \ "\\^done,name=\"vta\",numchild=\"2\",.*" \ - "Create bt varobj" + "create bt varobj" mi_gdb_test "-var-list-children vta" \ "\\^done,numchild=\"2\",children=\\\[child={name=\"vta.n\",exp=\"n\",numchild=\"0\",type=\"bar\\.int\"},child={name=\"vta.f\",exp=\"f\",numchild=\"0\",type=\"array \\(1 .. n\\) of character\"}\\\],.*" \ diff --git a/gdb/testsuite/gdb.ada/watch_arg.exp b/gdb/testsuite/gdb.ada/watch_arg.exp index 22a6746..94f1f99 100644 --- a/gdb/testsuite/gdb.ada/watch_arg.exp +++ b/gdb/testsuite/gdb.ada/watch_arg.exp @@ -32,7 +32,7 @@ runto "watch.adb:$bp_location" gdb_test "watch x" \ ".*atchpoint \[0-9\]+: x" \ - "Set watchpoint on function argument X" + "set watchpoint on function argument X" # Then insert a breakpoint at the location we'd like to continue to... set bp_location [gdb_get_line_number "BREAK2" ${testdir}/watch.adb] @@ -45,6 +45,6 @@ gdb_test "break watch.adb:$bp_location" \ gdb_test "cont" \ "Breakpoint \[0-9\]+, watch \\(\\).*" \ - "Continuing to second breakpoint" + "continuing to second breakpoint" diff --git a/gdb/testsuite/gdb.arch/alpha-step.exp b/gdb/testsuite/gdb.arch/alpha-step.exp index e45ad97..16743fb 100644 --- a/gdb/testsuite/gdb.arch/alpha-step.exp +++ b/gdb/testsuite/gdb.arch/alpha-step.exp @@ -94,7 +94,7 @@ proc test_stepi {function } { gdb_test "x /i \$pc" \ "0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fneg.*" \ - "Check stepi over fb$function stopped on fneg instruction" + "check stepi over fb$function stopped on fneg instruction" } diff --git a/gdb/testsuite/gdb.arch/altivec-regs.exp b/gdb/testsuite/gdb.arch/altivec-regs.exp index f02ef26..51e5e7a 100644 --- a/gdb/testsuite/gdb.arch/altivec-regs.exp +++ b/gdb/testsuite/gdb.arch/altivec-regs.exp @@ -170,12 +170,12 @@ gdb_expect_list "info vector" ".*$gdb_prompt $" { gdb_test "break vector_fun" \ "Breakpoint 2 at.*altivec-regs.c, line \[0-9\]+\\." \ - "Set breakpoint at vector_fun" + "set breakpoint at vector_fun" # Actually it is nuch easier to see these results printed in hex. gdb_test "set output-radix 16" \ "Output radix now set to decimal 16, hex 10, octal 20." \ - "Set output radix to hex" + "set output radix to hex" gdb_test "continue" \ "Breakpoint 2, vector_fun .a=.0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe., b=.0x1010101, 0x1010101, 0x1010101, 0x1010101.*altivec-regs.c.*vec_splat_u8.2..;" \ diff --git a/gdb/testsuite/gdb.arch/e500-regs.exp b/gdb/testsuite/gdb.arch/e500-regs.exp index 669f366..6d535aa 100644 --- a/gdb/testsuite/gdb.arch/e500-regs.exp +++ b/gdb/testsuite/gdb.arch/e500-regs.exp @@ -160,12 +160,12 @@ if ![runto_main] then { gdb_test "break vector_fun" \ "Breakpoint 2 at.*e500-regs.c, line \[0-9\]+\\." \ - "Set breakpoint at vector_fun" + "set breakpoint at vector_fun" # Actually it is nuch easier to see these results printed in hex. # gdb_test "set output-radix 16" \ # "Output radix now set to decimal 16, hex 10, octal 20." \ -# "Set output radix to hex" +# "set output radix to hex" gdb_test "continue" \ "Breakpoint 2, vector_fun .a=.-2, -2., b=.1, 1.*e500-regs.c.*ev_create_s32 .2, 2.;" \ diff --git a/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp b/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp index 2be82c3..758c294 100644 --- a/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp +++ b/gdb/testsuite/gdb.arch/powerpc-d128-regs.exp @@ -57,14 +57,14 @@ gdb_test "print \$dl$i" "\\\$$decimal = 1\.2345678910" "print dl$i register as D gdb_test "info reg dl$i" \ "dl$i\[ \]*1\.2345678910\[\t\]*\\(raw 0x2205800000000000000000049c5de09c\\)" \ - "Print dl$i register with the info reg command" + "print dl$i register with the info reg command" gdb_test "info reg f[expr 2*$i]" \ "f[expr 2*$i]\[ \]*8\.608957309287334e\-145\[\t\]*\\(raw 0x2205800000000000\\)" \ - "Testing lower half of dl$i register" + "testing lower half of dl$i register" gdb_test "info reg f[expr 2*$i+1]" \ "f[expr 2*$i+1]\[ \]*9\.7841140127686122e\-314\[\t\]*\\(raw 0x000000049c5de09c\\)" \ - "Testing upper half of dl$i register" + "testing upper half of dl$i register" } diff --git a/gdb/testsuite/gdb.base/arrayidx.exp b/gdb/testsuite/gdb.base/arrayidx.exp index a2253e9..bfd186b 100644 --- a/gdb/testsuite/gdb.base/arrayidx.exp +++ b/gdb/testsuite/gdb.base/arrayidx.exp @@ -38,7 +38,7 @@ gdb_test_no_output "set print array-indexes off" \ gdb_test "print array" \ "\\{1, 2, 3, 4\\}" \ - "Print array with array-indexes off" + "print array with array-indexes off" # Second, print the same array with the indexes @@ -47,6 +47,6 @@ gdb_test_no_output "set print array-indexes on" \ gdb_test "print array" \ "\\{\\\[0\\\] = 1, \\\[1\\\] = 2, \\\[2\\\] = 3, \\\[3\\\] = 4\\}" \ - "Print array with array-indexes on" + "print array with array-indexes on" diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index 26636a6..fbe4db3 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -434,7 +434,7 @@ gdb_test "tbreak $srcfile:factorial" "Temporary breakpoint.*at.* file .*$srcfile # gdb_test "tbreak $bp_location1" \ "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location1.*" \ - "Temporary breakpoint line number #1" + "temporary breakpoint line number #1" gdb_test "tbreak $bp_location6" "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location6.*" "temporary breakpoint line number #2" @@ -443,7 +443,7 @@ gdb_test "tbreak $bp_location6" "Temporary breakpoint.*at.* file .*$srcfile, lin # gdb_test "tbreak $srcfile:$bp_location2" \ "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location2.*" \ - "Temporary breakpoint line number in file #1" + "temporary breakpoint line number in file #1" set bp_location11 [gdb_get_line_number "set breakpoint 11 here"] gdb_test "tbreak $srcfile:$bp_location11" "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location11.*" "Temporary breakpoint line number in file #2" diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index ab18419..0c52092 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -154,7 +154,7 @@ gdb_test "continue" "breakpoint 3.*" "break3 one" gdb_test "shell diff -s $pi_txt $copy1_txt" \ "Files .*pi.txt and .*copy1.txt are identical.*" \ - "Diff input and output one" + "diff input and output one" # # And now run from various checkpoints, allowing @@ -207,7 +207,7 @@ gdb_test "print lines" " = 1162.*" "verify lines 7 two" gdb_test "shell diff -s $pi_txt $copy1_txt" \ "Files .*pi.txt and .*copy1.txt are identical.*" \ - "Diff input and output two" + "diff input and output two" # # OK, now allow the original program to delete the output file, @@ -272,23 +272,23 @@ gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 10" delete_breakpoints gdb_test "continue" \ "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ - "Exit, dropped into next fork one" + "exit, dropped into next fork one" gdb_test "continue" \ "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ - "Exit, dropped into next fork two" + "exit, dropped into next fork two" gdb_test "continue" \ "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ - "Exit, dropped into next fork three" + "exit, dropped into next fork three" gdb_test "continue" \ "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ - "Exit, dropped into next fork four" + "exit, dropped into next fork four" gdb_test "continue" \ "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ - "Exit, dropped into next fork five" + "exit, dropped into next fork five" # # There should be still at least five forks left diff --git a/gdb/testsuite/gdb.base/debug-expr.exp b/gdb/testsuite/gdb.base/debug-expr.exp index 14e44e0..f254d45 100644 --- a/gdb/testsuite/gdb.base/debug-expr.exp +++ b/gdb/testsuite/gdb.base/debug-expr.exp @@ -54,4 +54,4 @@ test_debug_expr "print /x {char\[4\]} array" \ # This caused gdb to output garbage and possibly segfault gdb_test "print \"hello\"" \ ".*OP_STRING\[^\r\n\]*Language-specific string type: 0.*\[\r\n\]\\$$decimal = \"hello\"\[\r\n\].*" \ - "String evaluation with debug expr" + "string evaluation with debug expr" diff --git a/gdb/testsuite/gdb.base/dmsym.exp b/gdb/testsuite/gdb.base/dmsym.exp index 3e8d494..b071424 100644 --- a/gdb/testsuite/gdb.base/dmsym.exp +++ b/gdb/testsuite/gdb.base/dmsym.exp @@ -80,7 +80,7 @@ gdb_breakpoint dmsym_main.c:[gdb_get_line_number "BREAK" dmsym_main.c] gdb_run_cmd gdb_test "" \ "Breakpoint $num, pck__foo__bar__minsym__2 \\(\\) at.*" \ - "Run until breakpoint at BREAK" + "run until breakpoint at BREAK" gdb_test "continue" \ "Breakpoint $num, main \\(\\) at.*" diff --git a/gdb/testsuite/gdb.base/radix.exp b/gdb/testsuite/gdb.base/radix.exp index a2ee6be..adc9ca8 100644 --- a/gdb/testsuite/gdb.base/radix.exp +++ b/gdb/testsuite/gdb.base/radix.exp @@ -154,21 +154,21 @@ test_output_radix 16 "10" "20" gdb_test "set radix" \ "Input and output radices now set to decimal 10, hex a, octal 12\." \ - "Reset radices" + "reset radices" gdb_test "set input-radix 0" \ "Nonsense input radix ``decimal 0''; input radix unchanged\\." \ "Reject input-radix 0" gdb_test "show input-radix" \ "Default input radix for entering numbers is 10\\." \ - "Input radix unchanged after rejecting 0" + "input radix unchanged after rejecting 0" gdb_test "set input-radix 1" \ "Nonsense input radix ``decimal 1''; input radix unchanged\\." \ "Reject input-radix 1" gdb_test "show input-radix" \ "Default input radix for entering numbers is 10\\." \ - "Input radix unchanged after rejecting 1" + "input radix unchanged after rejecting 1" gdb_test "set output-radix 0" \ "Unsupported output radix ``decimal 0''; output radix unchanged\\." \ @@ -181,11 +181,11 @@ gdb_test "set output-radix 1" \ "Reject output-radix 1" gdb_test "show output-radix" \ "Default output radix for printing of values is 10\\." \ - "Output radix unchanged after rejecting 1" + "output radix unchanged after rejecting 1" gdb_test "set radix 7" \ "Unsupported output radix ``decimal 7''; output radix unchanged\\." \ "set radix 7 rejected" gdb_test "show output-radix" \ "Default output radix for printing of values is 10\\." \ - "Output radix unchanged after rejection through set radix command" + "output radix unchanged after rejection through set radix command" diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp index aae7c70..2fc7a5d 100644 --- a/gdb/testsuite/gdb.base/sepdebug.exp +++ b/gdb/testsuite/gdb.base/sepdebug.exp @@ -242,11 +242,11 @@ gdb_test "tbreak $srcfile:factorial" "Temporary breakpoint.*at.* file .*$srcfile gdb_test "tbreak $bp_location1" \ "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location1.*" \ - "Temporary breakpoint line number #1" + "temporary breakpoint line number #1" gdb_test "tbreak $bp_location6" \ "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location6.*" \ - "Temporary breakpoint line number #2" + "temporary breakpoint line number #2" # # test break at line number in file @@ -254,7 +254,7 @@ gdb_test "tbreak $bp_location6" \ gdb_test "tbreak $srcfile:$bp_location2" \ "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location2.*" \ - "Temporary breakpoint line number in file #1" + "temporary breakpoint line number in file #1" set bp_location11 [gdb_get_line_number "set breakpoint 11 here"] gdb_test "tbreak $srcfile:$bp_location11" "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location11.*" "Temporary breakpoint line number in file #2" diff --git a/gdb/testsuite/gdb.base/testenv.exp b/gdb/testsuite/gdb.base/testenv.exp index 51373b3..27cfe04 100644 --- a/gdb/testsuite/gdb.base/testenv.exp +++ b/gdb/testsuite/gdb.base/testenv.exp @@ -49,7 +49,7 @@ gdb_breakpoint $bp_line # First test with no TEST_GDB_VAR gdb_test "continue" \ ".*Program found 0 variables starting with TEST_GDB.*" \ - "Test no TEST_GDB var" + "test no TEST_GDB var" gdb_test_no_output "set env TEST_GDB_VAR1 test1" \ "Set TEST_GDB_VAR1" @@ -60,7 +60,7 @@ gdb_breakpoint $bp_line # Second test with one TEST_GDB_VAR gdb_test "continue" \ ".*Program found 1 variables starting with TEST_GDB.*" \ - "Test with one TEST_GDB var" + "test with one TEST_GDB var" gdb_test_no_output "set env TEST_GDB_VAR2 test2" \ "Set TEST_GDB_VAR2" @@ -71,7 +71,7 @@ gdb_breakpoint $bp_line # Third test with two TEST_GDB_VAR gdb_test "continue" \ ".*Program found 2 variables starting with TEST_GDB.*" \ - "Test with two TEST_GDB var" + "test with two TEST_GDB var" gdb_test_no_output "unset env TEST_GDB_VAR1" \ "Unset TEST_GDB_VAR1" @@ -83,7 +83,7 @@ gdb_breakpoint $bp_line # with unset command. gdb_test "continue" \ ".*Program found 1 variables starting with TEST_GDB.*" \ - "Test with one TEST_GDB var, after unset" + "test with one TEST_GDB var, after unset" gdb_exit @@ -103,7 +103,7 @@ gdb_test "show env" ".*TEST_GDB_GLOBAL=.*" "test passing TEST_GDB_GLOBAL to GDB" # First test with only inherited TEST_GDB_GLOBAL gdb_test "continue" \ ".*TEST_GDB_GLOBAL=Global environment value.*Program found 1 variables starting with TEST_GDB.*" \ - "Test with TEST_GDB_GLOBAL" + "test with TEST_GDB_GLOBAL" gdb_test_no_output "unset env TEST_GDB_GLOBAL" \ "Unset TEST_GDB_GLOBAL" @@ -114,7 +114,7 @@ gdb_breakpoint $bp_line # Second test with one TEST_GDB_VAR gdb_test "continue" \ ".*Program found 0 variables starting with TEST_GDB.*" \ - "Test with TEST_GDB_GLOBAL unset" + "test with TEST_GDB_GLOBAL unset" gdb_exit diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp index 2077121..5973623 100644 --- a/gdb/testsuite/gdb.base/watch_thread_num.exp +++ b/gdb/testsuite/gdb.base/watch_thread_num.exp @@ -75,7 +75,7 @@ delete_breakpoints gdb_test "awatch shared_var thread $thread_num" \ "Hardware access \\(read/write\\) watchpoint .*: shared_var.*" \ - "Watchpoint on shared variable" + "watchpoint on shared variable" gdb_test "info breakpoint \$bpnum" \ "stop only in thread $thread_num" \ diff --git a/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp b/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp index d3b7eb6..d85a0ff 100644 --- a/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp +++ b/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp @@ -43,4 +43,4 @@ gdb_test "watch c if c == 30" "atchpoint \[0-9\]*.*" "place the watchpoint" gdb_test "finish" \ "Watchpoint .* deleted because the program has left the block in.*which its expression is valid..*in (\\.?jumper|func).*" \ - "Catch the no longer valid watchpoint" + "catch the no longer valid watchpoint" diff --git a/gdb/testsuite/gdb.cell/break.exp b/gdb/testsuite/gdb.cell/break.exp index 66ed698..5e7b00a 100644 --- a/gdb/testsuite/gdb.cell/break.exp +++ b/gdb/testsuite/gdb.cell/break.exp @@ -60,7 +60,7 @@ gdb_load ${ppu_bin} # shouldn't prompt for anything. gdb_test "delete breakpoints" \ "" \ - "No prompt when deleting non-existing breakpoints" + "no prompt when deleting non-existing breakpoints" gdb_test "break main" \ "Breakpoint.*at.* file .*$testfile.c, line.*" \ diff --git a/gdb/testsuite/gdb.cell/ea-cache.exp b/gdb/testsuite/gdb.cell/ea-cache.exp index a6b2595..54d2168 100644 --- a/gdb/testsuite/gdb.cell/ea-cache.exp +++ b/gdb/testsuite/gdb.cell/ea-cache.exp @@ -78,7 +78,7 @@ gdb_test "p *ppe_int_ptr" \ # int_var and should now also contain 42 (ea cache has been flushed). gdb_test "t 1" \ ".*Switching to thread 1.*" \ - "Switch to thread 1" + "switch to thread 1" gdb_test "p int_var" \ ".*=.*42.*" \ diff --git a/gdb/testsuite/gdb.compile/compile.exp b/gdb/testsuite/gdb.compile/compile.exp index 610cf7e..cec44d8 100644 --- a/gdb/testsuite/gdb.compile/compile.exp +++ b/gdb/testsuite/gdb.compile/compile.exp @@ -42,15 +42,15 @@ clean_restart ${testfile} # gdb_test "compile code int i=2;" \ "The program must be running for the compile command to work.*" \ - "Test compile code command without running inferior" + "test compile code command without running inferior" gdb_test "compile int i=2;" \ "The program must be running for the compile command to work.*" \ - "Test compile command without running inferior" + "test compile command without running inferior" gdb_test "compile file -r ${srcdir}/${subdir}/${testfile}-mod.c" \ "The program must be running for the compile command to work.*" \ - "Test compile file command without running inferior" + "test compile file command without running inferior" if ![runto_main] { return -1 @@ -79,7 +79,7 @@ gdb_test_no_output "compile -raw -- void _gdb_expr(){int i = 5;}" \ gdb_test "compile -- -r void _gdb_expr(){int i = 5;}" \ ".* error: 'r' undeclared \\(first use in this function\\).*" \ - "Test delimiter with -r after it" + "test delimiter with -r after it" gdb_test "p globalvar" " = 10" "expect 10" @@ -339,7 +339,7 @@ gdb_test "compile file -r" \ "Test compile file and raw option without a filename" gdb_test "compile file -z" \ "Unknown argument.*" \ - "Test compile file with unknown argument" + "test compile file with unknown argument" # LOC_CONST tests. diff --git a/gdb/testsuite/gdb.cp/gdb2495.exp b/gdb/testsuite/gdb.cp/gdb2495.exp index f80c30c..dff5977 100644 --- a/gdb/testsuite/gdb.cp/gdb2495.exp +++ b/gdb/testsuite/gdb.cp/gdb2495.exp @@ -80,7 +80,7 @@ gdb_test "p exceptions.throw_function_with_handler()" " = 2" # does not handle it. It should be rewound. gdb_test "p exceptions.throw_function()" \ "The program being debugged entered a std::terminate call, .*" \ - "Call a function that raises an exception without a handler." + "call a function that raises an exception without a handler." # Make sure that after rewinding we are back at the call parent. gdb_test "bt" \ @@ -103,12 +103,12 @@ gdb_test_multiple "set unwind-on-terminating-exception off" \ # Check that it is turned off. gdb_test "show unwind-on-terminating-exception" \ "exception is unhandled while in a call dummy is off.*" \ - "Turn off unwind on terminating exception flag" + "turn off unwind on terminating exception flag" # Check that the old behaviour is restored. gdb_test "p exceptions.throw_function()" \ "The program being debugged was signaled while in a function called .*" \ - "Call a function that raises an exception with unwinding off.." + "call a function that raises an exception with unwinding off.." # Restart the inferior back at main. if ![runto_main] then { @@ -129,7 +129,7 @@ gdb_test_multiple "set unwindonsignal on" "turn unwindonsignal on" { # Check that it is turned on. gdb_test "show unwindonsignal" \ "signal is received while in a call dummy is on.*" \ - "Turn on unwind on signal" + "turn on unwind on signal" # Check to see if new behaviour interferes with # normal signal handling in inferior function calls. @@ -145,7 +145,7 @@ gdb_test_multiple "set unwindonsignal off" "turn unwindonsignal off" { # Check that it is actually turned off. gdb_test "show unwindonsignal" \ "signal is received while in a call dummy is off.*" \ - "Turn off unwind on signal" + "turn off unwind on signal" # Check to see if new behaviour interferes with # normal signal handling in inferior function calls. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 28d5493..340137a 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -274,7 +274,7 @@ proc test_with_self { } { # disassemble yourself gdb_test "x/10i main" \ "x/10i.*main.*main($cxx_main_args_re)?.$decimal.*main($cxx_main_args_re)?.$decimal.*" \ - "Disassemble main" + "disassemble main" # We'll need this when we send a ^C to GDB. Need to do it before we # run the program and gdb starts saving and restoring tty states. diff --git a/gdb/testsuite/gdb.gdb/xfullpath.exp b/gdb/testsuite/gdb.gdb/xfullpath.exp index 7981a35..812b5ea 100644 --- a/gdb/testsuite/gdb.gdb/xfullpath.exp +++ b/gdb/testsuite/gdb.gdb/xfullpath.exp @@ -52,7 +52,7 @@ proc test_with_self {} { # An empty filename gdb_test "print gdb_realpath (\"\")" \ ".\[0-9\]+ =.*\"\"" \ - "An empty filename" + "an empty filename" return 0 } diff --git a/gdb/testsuite/gdb.go/hello.exp b/gdb/testsuite/gdb.go/hello.exp index 666567c..192d035 100644 --- a/gdb/testsuite/gdb.go/hello.exp +++ b/gdb/testsuite/gdb.go/hello.exp @@ -39,7 +39,7 @@ setup_xfail "*-*-*" gdb_test "print st" \ ".* = $hex \"\"" \ - "Starting string check" + "starting string check" if { [gdb_breakpoint ${srcfile}:${bp_location1}] } { pass "setting breakpoint 1" @@ -49,4 +49,4 @@ gdb_test "cont" "Breakpoint .*:${bp_location1}.*" "going to first breakpoint" gdb_test "print st" \ ".* = $hex \"Hello, world!\"" \ - "String after assignment check" + "string after assignment check" diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integers.exp index dd28f6d..d242add 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -112,4 +112,4 @@ gdb_test "cont" \ "Going to second breakpoint" gdb_test "print i" \ ".* = 5.*" \ - "Value of i after assignment" + "value of i after assignment" diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp index d950645..43db8e4 100644 --- a/gdb/testsuite/gdb.objc/basicclass.exp +++ b/gdb/testsuite/gdb.objc/basicclass.exp @@ -163,21 +163,21 @@ gdb_test continue \ # gdb_test "print \[self printHi\]" \ "Hi.*\\$\[0-9\] = \\(.*objc_object \\*\\) 0x\[0-9a-f\]+" \ - "Call an Objective-C method with no arguments" + "call an Objective-C method with no arguments" gdb_test "print \[self printNumber: 42\]" \ "42.*\\$\[0-9\] = 43" \ - "Call an Objective-C method with one argument" + "call an Objective-C method with one argument" # # Test printing the object description # gdb_test "print-object object" \ "BasicClass gdb test object" \ - "Use of the print-object command" + "use of the print-object command" gdb_test "po self" \ "BasicClass gdb test object" \ - "Use of the po (print-object) command" + "use of the po (print-object) command" diff --git a/gdb/testsuite/gdb.pascal/hello.exp b/gdb/testsuite/gdb.pascal/hello.exp index c4577ee..b705dce 100644 --- a/gdb/testsuite/gdb.pascal/hello.exp +++ b/gdb/testsuite/gdb.pascal/hello.exp @@ -50,7 +50,7 @@ gdb_test "cont" \ "Going to first breakpoint" gdb_test "print st" \ ".* = ''.*" \ - "Empty string check" + "empty string check" # This test also fails for gpc because the program # stops after the string has been written @@ -63,4 +63,4 @@ gdb_test "cont" \ "Going to second breakpoint" gdb_test "print st" \ ".* = 'Hello, world!'.*" \ - "String after assignment check" + "string after assignment check" diff --git a/gdb/testsuite/gdb.pascal/integers.exp b/gdb/testsuite/gdb.pascal/integers.exp index 4e62745..3d83711 100644 --- a/gdb/testsuite/gdb.pascal/integers.exp +++ b/gdb/testsuite/gdb.pascal/integers.exp @@ -117,4 +117,4 @@ gdb_test "cont" \ "Going to second breakpoint" gdb_test "print i" \ ".* = 5.*" \ - "Value of i after assignment" + "value of i after assignment" diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp index 7503f5a..e7b2948 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-breakpoint.exp @@ -72,7 +72,7 @@ proc test_bkpt_basic { } { gdb_test "python print (blist\[1\].location)" \ "py-breakpoint\.c:${mult_line}*" \ - "Check breakpoint location @mult_line" + "check breakpoint location @mult_line" # Check hit and ignore counts. gdb_test "python print (blist\[1\].hit_count)" \ @@ -392,7 +392,7 @@ proc test_bkpt_eval_funcs { } { gdb_test "python eval_bp2.stop = stop_func" \ "RuntimeError: Only one stop condition allowed. There is currently a GDB.*" \ - "Assign stop function to a breakpoint that has a condition" + "assign stop function to a breakpoint that has a condition" delete_breakpoints gdb_breakpoint [gdb_get_line_number "Break at multiply."] diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 0665b8e..f42fcac 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -179,7 +179,7 @@ gdb_py_test_multiple "expression completion command" \ gdb_test "complete expr_test bar\." \ "expr_test bar\.bc.*expr_test bar\.ij.*" \ - "Test completion through complete command" + "test completion through complete command" if { [readline_is_used] } { set test "complete 'expr_test bar.i'" diff --git a/gdb/testsuite/gdb.python/py-linetable.exp b/gdb/testsuite/gdb.python/py-linetable.exp index 702c654..b65f46d 100644 --- a/gdb/testsuite/gdb.python/py-linetable.exp +++ b/gdb/testsuite/gdb.python/py-linetable.exp @@ -62,7 +62,7 @@ gdb_py_test_silent_cmd "python fset = lt.source_lines()" \ "Get all source lines into a frozen set" 0 gdb_test "python print (sorted(fset))" \ "\\\[20, 21, 22, 24, 25, 28, 29, 30, 32, 33, 37, 39, 40, 42, 44, 45, 46\\\].*" \ - "Test frozen set contains line numbers" + "test frozen set contains line numbers" # Test gdb.Linetable.has_line () gdb_test "python print(lt.has_line(20))" \ @@ -73,4 +73,4 @@ gdb_test "python print(lt.has_line(44))" \ "Test has_pcs at line 40" gdb_test "python print(lt.has_line(10))" \ "False.*" \ - "Test has_pcs at line 10" + "test has_pcs at line 10" diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index 0d7957f..cdb374f 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.exp +++ b/gdb/testsuite/gdb.python/py-xmethods.exp @@ -125,7 +125,7 @@ gdb_test "p g.mul(2.0)" "From Python G<>::mul.*" \ "After: g.mul(2.0)" gdb_test "p g.mul('a')" "From Python G<>::mul.*" \ gdb_test "p g_ptr->mul('a')" "From Python G<>::mul.*" \ - "After: g_ptr->mul('a')" + "after: g_ptr->mul('a')" # Tests for 'disable/enable xmethod' command. gdb_test_no_output "disable xmethod progspace G_methods" \ diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index b657016..e789359 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -408,7 +408,7 @@ gdb_py_test_silent_cmd "set python print-stack none" \ "Test print-stack set setting to none" 1 gdb_test "show python print-stack" \ "The mode of Python stack printing on error is \"none\".*" \ - "Test print-stack show setting to none" + "test print-stack show setting to none" gdb_py_test_silent_cmd "set python print-stack message" \ "Test print-stack set setting to message" 1 diff --git a/gdb/testsuite/gdb.reverse/consecutive-precsave.exp b/gdb/testsuite/gdb.reverse/consecutive-precsave.exp index ff86051..f019dde 100644 --- a/gdb/testsuite/gdb.reverse/consecutive-precsave.exp +++ b/gdb/testsuite/gdb.reverse/consecutive-precsave.exp @@ -38,7 +38,7 @@ if [supports_process_record] { set end_location [gdb_get_line_number "end of main" ] gdb_test "break $end_location" \ "Breakpoint $decimal at .*$srcfile, line $end_location\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.reverse/finish-precsave.exp b/gdb/testsuite/gdb.reverse/finish-precsave.exp index 65a3af1..efb319c 100644 --- a/gdb/testsuite/gdb.reverse/finish-precsave.exp +++ b/gdb/testsuite/gdb.reverse/finish-precsave.exp @@ -39,7 +39,7 @@ if [supports_process_record] { set breakloc [gdb_get_line_number "end of main" "$srcfile"] gdb_test "break $breakloc" \ "Breakpoint $decimal at .*$srcfile, line $breakloc\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.reverse/i386-precsave.exp b/gdb/testsuite/gdb.reverse/i386-precsave.exp index 81788d6..c83c2f3 100644 --- a/gdb/testsuite/gdb.reverse/i386-precsave.exp +++ b/gdb/testsuite/gdb.reverse/i386-precsave.exp @@ -56,7 +56,7 @@ global decimal gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.reverse/machinestate-precsave.exp b/gdb/testsuite/gdb.reverse/machinestate-precsave.exp index 02f1cca..d3ca649 100644 --- a/gdb/testsuite/gdb.reverse/machinestate-precsave.exp +++ b/gdb/testsuite/gdb.reverse/machinestate-precsave.exp @@ -64,7 +64,7 @@ if [supports_process_record] { gdb_test "break $endmain" \ "Breakpoint $decimal at .*$srcfile, line $endmain\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.reverse/sigall-precsave.exp b/gdb/testsuite/gdb.reverse/sigall-precsave.exp index 24dff80..a05a842 100644 --- a/gdb/testsuite/gdb.reverse/sigall-precsave.exp +++ b/gdb/testsuite/gdb.reverse/sigall-precsave.exp @@ -162,7 +162,7 @@ if [supports_process_record] { set breakloc [gdb_get_line_number "end of main" "$srcfile"] gdb_test "break $breakloc" \ "Breakpoint $decimal at .*$srcfile, line $breakloc\." \ - "BP at end of main" + "breakpoint at end of main" # Signal handlers must be disabled gdb_test "handle all nostop noprint" diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 8dbf355..1db4f3f 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -89,7 +89,7 @@ if [supports_process_record] { set end_of_main [gdb_get_line_number "end of main" ] gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp index 11a56d5..4741a59 100644 --- a/gdb/testsuite/gdb.reverse/step-precsave.exp +++ b/gdb/testsuite/gdb.reverse/step-precsave.exp @@ -42,7 +42,7 @@ if [supports_process_record] { set end_of_main [gdb_get_line_number "end of main" ] gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ - "BP at end of main" + "breakpoint at end of main" # This can take awhile. with_timeout_factor 20 { diff --git a/gdb/testsuite/gdb.reverse/until-precsave.exp b/gdb/testsuite/gdb.reverse/until-precsave.exp index 471a7e1..2934e6a 100644 --- a/gdb/testsuite/gdb.reverse/until-precsave.exp +++ b/gdb/testsuite/gdb.reverse/until-precsave.exp @@ -46,7 +46,7 @@ if [supports_process_record] { set end_of_main [gdb_get_line_number "set breakpoint 10a here" ] gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ - "BP at end of main" + "breakpoint at end of main" # This can take awhile. with_timeout_factor 20 { diff --git a/gdb/testsuite/gdb.reverse/watch-precsave.exp b/gdb/testsuite/gdb.reverse/watch-precsave.exp index ee24a48..25f6a42 100644 --- a/gdb/testsuite/gdb.reverse/watch-precsave.exp +++ b/gdb/testsuite/gdb.reverse/watch-precsave.exp @@ -39,7 +39,7 @@ if [supports_process_record] { set end_location [gdb_get_line_number "end of main" ] gdb_test "break $end_location" \ "Breakpoint $decimal at .*$srcfile, line $end_location\." \ - "BP at end of main" + "breakpoint at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" diff --git a/gdb/testsuite/gdb.threads/leader-exit.exp b/gdb/testsuite/gdb.threads/leader-exit.exp index 7daea8f..f018f47 100644 --- a/gdb/testsuite/gdb.threads/leader-exit.exp +++ b/gdb/testsuite/gdb.threads/leader-exit.exp @@ -38,7 +38,7 @@ gdb_continue_to_breakpoint "break-here" ".* break-here .*" gdb_test "info threads" \ "\r\n\[ \t\]*Id\[ \t\]+Target\[ \t\]+Id\[ \t\]+Frame\[ \t\]*\r\n\\* 2 *Thread \[^\r\n\]* at \[^\r\n\]*" \ - "Single thread has been left" + "single thread has been left" # Test that ctrl-c works even if the leader has exited. diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp index 2d26505..fa8ff9a 100644 --- a/gdb/testsuite/gdb.threads/pthreads.exp +++ b/gdb/testsuite/gdb.threads/pthreads.exp @@ -171,7 +171,7 @@ proc test_startup {} { gdb_test "break thread2" "Breakpoint .* file .*$srcfile.*" gdb_test "continue" \ "Continuing.*Breakpoint .*, thread2 \\(arg=0xdeadbeef\\).*at.*$srcfile.*" \ - "Continue to creation of second thread" + "continue to creation of second thread" # Extract the thread id number of thread 2 from "info threads" output. gdb_test_multiple "info threads" "get thread 2 id" { diff --git a/gdb/testsuite/gdb.threads/wp-replication.exp b/gdb/testsuite/gdb.threads/wp-replication.exp index 88a2e06..9378ff8 100644 --- a/gdb/testsuite/gdb.threads/wp-replication.exp +++ b/gdb/testsuite/gdb.threads/wp-replication.exp @@ -102,7 +102,7 @@ delete_breakpoints # Prepare to create all the threads. gdb_test "break thread_started" \ "Breakpoint \[0-9\]+ at .*: file .*${srcfile}, line .*" \ - "Breakpoint on thread_started" + "breakpoint on thread_started" # Move all threads to where they're supposed to be for testing. for { set i 0 } { $i < $NR_THREADS } { incr i } { diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp index f02890a..46890f5 100644 --- a/gdb/testsuite/gdb.trace/actions.exp +++ b/gdb/testsuite/gdb.trace/actions.exp @@ -212,7 +212,7 @@ gdb_test_no_output "set default-collect" \ gdb_test "tvariable \$tsv" \ "Trace state variable \\\$tsv created, with initial value 0." \ - "Create a trace state variable" + "create a trace state variable" gdb_trace_setactions "5.10a: set teval action for first tracepoint" \ "$trcpt1" \ diff --git a/gdb/testsuite/gdb.trace/mi-tsv-changed.exp b/gdb/testsuite/gdb.trace/mi-tsv-changed.exp index cf9a448..1e0e866 100644 --- a/gdb/testsuite/gdb.trace/mi-tsv-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-tsv-changed.exp @@ -153,7 +153,7 @@ proc test_upload_tsv { } { gdb_test "tvariable \$tvar1" \ "Trace state variable \\\$tvar1 created, with initial value 0." \ - "Create a trace state variable" + "create a trace state variable" gdb_test "tvariable \$tvar2 = 45" \ "Trace state variable \\\$tvar2 created, with initial value 45." \ diff --git a/gdb/testsuite/gdb.trace/tsv.exp b/gdb/testsuite/gdb.trace/tsv.exp index d9e2d6b..a976480 100644 --- a/gdb/testsuite/gdb.trace/tsv.exp +++ b/gdb/testsuite/gdb.trace/tsv.exp @@ -28,23 +28,23 @@ gdb_load $binfile gdb_test "tvariable \$tvar1" \ "Trace state variable \\\$tvar1 created, with initial value 0." \ - "Create a trace state variable" + "create a trace state variable" gdb_test "tvariable \$tvar2 = 45" \ "Trace state variable \\\$tvar2 created, with initial value 45." \ - "Create a trace state variable with initial value" + "create a trace state variable with initial value" gdb_test "tvariable \$tvar2 = -92" \ "Trace state variable \\\$tvar2 now has initial value -92." \ - "Change initial value of a trace state variable" + "change initial value of a trace state variable" gdb_test "tvariable \$tvar3 = 2 + 3" \ "Trace state variable \\\$tvar3 created, with initial value 5." \ - "Create a trace state variable with expression" + "create a trace state variable with expression" gdb_test "tvariable \$tvar3 = 1234567000000" \ "Trace state variable \\\$tvar3 now has initial value 1234567000000." \ - "Init trace state variable to a 64-bit value" + "init trace state variable to a 64-bit value" gdb_test "tvariable $" \ "Must supply a non-empty variable name" \ @@ -97,7 +97,7 @@ gdb_test "delete tvariable" \ gdb_test "info tvariables" \ "No trace state variables.*" \ - "List tvariables after deleting all" + "list tvariables after deleting all" # Now try running a trace. @@ -120,7 +120,7 @@ if { $trcpt1 <= 0 } then { gdb_test "tvariable \$tvar5 = 15" \ "Trace state variable \\\$tvar5 created, with initial value 15." \ - "Create a trace state variable tvar5" + "create a trace state variable tvar5" gdb_trace_setactions "collect tsv for first tracepoint" \ "$trcpt1" \