[PATCH 1/3] gdb/testsuite: update the expected output in gdb.threads/killed-outside.exp
Tankut Baris Aktemur
tankut.baris.aktemur@intel.com
Fri Nov 13 16:57:23 GMT 2020
When running the gdb.threads/killed-outside.exp test using the
native-gdbserver and native-extended-gdbserver boards, we get
...
FAIL: gdb.threads/killed-outside.exp: prompt after first continue
...
Update the expected output to also consider the cases seen when using
those two boards.
gdb/testsuite/ChangeLog:
2020-11-13 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.threads/killed-outside.exp: Update the expected output
for the native-gdbserver and native-extended-gdbserver boards.
---
gdb/testsuite/gdb.threads/killed-outside.exp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gdb/testsuite/gdb.threads/killed-outside.exp b/gdb/testsuite/gdb.threads/killed-outside.exp
index ff5a1157285..bdfdbd96069 100644
--- a/gdb/testsuite/gdb.threads/killed-outside.exp
+++ b/gdb/testsuite/gdb.threads/killed-outside.exp
@@ -54,4 +54,8 @@ gdb_test_multiple "continue" "prompt after first continue" {
}
}
}
+ -re "Continuing\.\r\n\r\n$killed_msg\r\n$no_longer_exists_msg\r\n$gdb_prompt $" {
+ pass $gdb_test_name
+ gdb_test "continue" $not_being_run_msg "second continue"
+ }
}
--
2.17.1
More information about the Gdb-patches
mailing list