diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-08-25 11:06:43 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-08-25 11:06:43 -0400 |
commit | 8cac2b318b1bf14d468b769187a8233a1220c48e (patch) | |
tree | 9ce67494fb1df41fdeb96b27ac034e2007fbfa70 /gdb/testsuite/gdb.threads | |
parent | 2bc19622c9e74655151674661b77af52e1e064f8 (diff) | |
download | gdb-8cac2b318b1bf14d468b769187a8233a1220c48e.zip gdb-8cac2b318b1bf14d468b769187a8233a1220c48e.tar.gz gdb-8cac2b318b1bf14d468b769187a8233a1220c48e.tar.bz2 |
gdb/testsuite: fix gdb.threads/stepi-random-signal.exp pattern (gdb/26532)
Commit 1eb8556f5a8b ("gdb: add infrun_debug_printf macro") changed the
debug output format for `set debug infrun 1`. The test
gdb.threads/stepi-random-signal.exp uses that debug output, and was
updated, but not correctly. It results in this failure:
FAIL: gdb.threads/stepi-random-signal.exp: stepi (no random signal)
Fix it by adjusting the pattern in the test.
gdb/testsuite/ChangeLog:
PR gdb/26532
* gdb.threads/stepi-random-signal.exp: Update pattern.
Change-Id: If5fa525e9545e32a286effe6a6184358374bd37c
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/stepi-random-signal.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/stepi-random-signal.exp b/gdb/testsuite/gdb.threads/stepi-random-signal.exp index fa20f38..9a8b38c 100644 --- a/gdb/testsuite/gdb.threads/stepi-random-signal.exp +++ b/gdb/testsuite/gdb.threads/stepi-random-signal.exp @@ -87,7 +87,7 @@ set seen 0 set test "stepi" if {[gdb_test_multiple "stepi" "$test" { - -re "infrun: handle_signal_stop: random signal" { + -re {\[infrun\] handle_signal_stop: random signal} { set seen 1 exp_continue } |