diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-01-19 12:30:34 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-01-19 13:04:58 +0100 |
commit | bd0a71fa16f668341a9361c695bc3ca44d27b322 (patch) | |
tree | 41fb8ec38c605a128732e9f3967a573fc26cb32b /gdb/testsuite/gdb.trace/ftrace.exp | |
parent | a4af960aef09b7c0258b60954332969ef6d0cd3a (diff) | |
download | gdb-bd0a71fa16f668341a9361c695bc3ca44d27b322.zip gdb-bd0a71fa16f668341a9361c695bc3ca44d27b322.tar.gz gdb-bd0a71fa16f668341a9361c695bc3ca44d27b322.tar.bz2 |
testsuite/gdb.trace: Fix expected message on continue.
This is fallout from f303dbd60d9c7984832446eeb9d4e4d89703c615.
The testcases themselves are single-threaded, but they load the IPA library,
which injects a thread in the inferior - making them multithreaded.
This results in printing the thread numbers in breakpoint messages.
gdb/testsuite/ChangeLog:
* gdb.trace/ftrace.exp: Fix expected message on continue.
* gdb.trace/pending.exp: Fix expected message on continue.
* gdb.trace/trace-break.exp: Fix expected message on continue.
Diffstat (limited to 'gdb/testsuite/gdb.trace/ftrace.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/ftrace.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp index 33fc284..15ad7e7 100644 --- a/gdb/testsuite/gdb.trace/ftrace.exp +++ b/gdb/testsuite/gdb.trace/ftrace.exp @@ -202,7 +202,8 @@ proc test_ftrace_condition { condexp var list } \ "collect $var" "^$" gdb_test_no_output "tstart" "" - gdb_test "continue" "Continuing\\.\[ \r\n\]+Breakpoint.*" "" + gdb_test "continue" \ + "Continuing\\.\[ \r\n\]+(Thread .* hit )?Breakpoint.*" "" gdb_test_no_output "tstop" "" set i 0 |