From 4977ab010dd7ade47a56f7395dac10d7608b6c44 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sat, 2 Jul 2011 20:49:02 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.cp/temargs.exp (set sixth breakpoint for temargs): Move the test to match the HEAD order. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.cp/temargs.exp | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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. # -- 2.47.2