From: Jan Kratochvil Date: Sat, 2 Jul 2011 20:49:02 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: gdb_7_3-2011-07-26-release~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4977ab010dd7ade47a56f7395dac10d7608b6c44;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite/ * gdb.cp/temargs.exp (set sixth breakpoint for temargs): Move the test to match the HEAD order. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 12efd0c3bee..9d34153a30e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-07-02 Jan Kratochvil + + * gdb.cp/temargs.exp (set sixth breakpoint for temargs): Move the test + to match the HEAD order. + 2011-07-02 Jan Kratochvil * gdb.cp/m-static.exp: Call get_compiler_info. diff --git a/gdb/testsuite/gdb.cp/temargs.exp b/gdb/testsuite/gdb.cp/temargs.exp index ba9e85b9063..456695f8233 100644 --- a/gdb/testsuite/gdb.cp/temargs.exp +++ b/gdb/testsuite/gdb.cp/temargs.exp @@ -62,6 +62,10 @@ set line [gdb_get_line_number "Breakpoint 4" $srcfile] gdb_test "break $srcfile:$line" "Breakpoint 5.*" \ "set fourth breakpoint for temargs" +set line [gdb_get_line_number "Breakpoint 6" $srcfile] +gdb_test "break $srcfile:$line" "Breakpoint 6.*" \ + "set sixth breakpoint for temargs" + # # Tests in Base::base_m. # @@ -80,10 +84,6 @@ gdb_test "print P == &a_global" " = true" "test value of P in base_m" setup_kfail "gcc/41736" *-*-* gdb_test "print MP" "&S::f" "test value of MP in base_m" -set line [gdb_get_line_number "Breakpoint 6" $srcfile] -gdb_test "break $srcfile:$line" "Breakpoint 6.*" \ - "set sixth breakpoint for temargs" - # # Tests in Inner::inner_m. #