-# Copyright (C) 2007-2015 Free Software Foundation, Inc.
+# Copyright (C) 2007-2019 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
gdb_test "info threads" \
"\r\n\[ \t\]*Id\[ \t\]+Target\[ \t\]+Id\[ \t\]+Frame\[ \t\]*\r\n\\* 2 *Thread \[^\r\n\]* at \[^\r\n\]*" \
- "Single thread has been left"
+ "single thread has been left"
# Test that ctrl-c works even if the leader has exited.
set test "caught interrupt"
gdb_test_multiple "" $test {
- -re "Program received signal SIGINT.*$gdb_prompt $" {
+ -re "Thread .* received signal SIGINT.*$gdb_prompt $" {
pass $test
}
}