From 1de05205afe1ecd1f1fa2befc6843d0dc70adefc Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 8 Mar 2017 22:05:36 +0000 Subject: [PATCH] Avoid unstable test message in gdb.base/step-over-exit.exp Currently diffing testrun results shows: -PASS: gdb.base/step-over-exit.exp: break *0x7ffff77e18c6 if main == 0 +PASS: gdb.base/step-over-exit.exp: break *0x2aaaab0988c6 if main == 0 gdb/testsuite/ChangeLog: 2017-03-08 Pedro Alves * gdb.base/step-over-exit.exp: Add explicit test message. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/step-over-exit.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 499377bd737..ad33192ff64 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-08 Pedro Alves + + * gdb.base/step-over-exit.exp: Add explicit test message. + 2017-03-08 Pedro Alves PR gdb/18360 diff --git a/gdb/testsuite/gdb.base/step-over-exit.exp b/gdb/testsuite/gdb.base/step-over-exit.exp index c921dcc3e5b..1e00010ec85 100644 --- a/gdb/testsuite/gdb.base/step-over-exit.exp +++ b/gdb/testsuite/gdb.base/step-over-exit.exp @@ -111,7 +111,8 @@ gdb_test_multiple $test $test { } gdb_test "break \*$syscall_insn_addr if main == 0" \ - "Breakpoint \[0-9\]* at .*" + "Breakpoint \[0-9\]* at .*" \ + "set conditional break at syscall address" # Resume the child process, and the step-over is being done. -- 2.30.2