aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-03-08 22:05:36 +0000
committerPedro Alves <palves@redhat.com>2017-03-08 22:05:36 +0000
commit1de05205afe1ecd1f1fa2befc6843d0dc70adefc (patch)
treec774b96dd47740ebf452f57190719164ac4554ab /gdb/testsuite
parent1437d0631b209500db8371c425e896deb66ec9f9 (diff)
downloadgdb-1de05205afe1ecd1f1fa2befc6843d0dc70adefc.zip
gdb-1de05205afe1ecd1f1fa2befc6843d0dc70adefc.tar.gz
gdb-1de05205afe1ecd1f1fa2befc6843d0dc70adefc.tar.bz2
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 <palves@redhat.com> * gdb.base/step-over-exit.exp: Add explicit test message.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/step-over-exit.exp3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 499377b..ad33192 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2017-03-08 Pedro Alves <palves@redhat.com>
+ * gdb.base/step-over-exit.exp: Add explicit test message.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
PR gdb/18360
* gdb.threads/interrupt-while-step-over.c: New file.
* gdb.threads/interrupt-while-step-over.exp: New file.
diff --git a/gdb/testsuite/gdb.base/step-over-exit.exp b/gdb/testsuite/gdb.base/step-over-exit.exp
index c921dcc..1e00010 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.