-# Copyright 2013-2014 Free Software Foundation, Inc.
+# Copyright 2013-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
# for an expression delimiter.
gdb_test "print thread" \
"= 1" \
- "Print variable 'thread'"
+ "print variable 'thread'"
gdb_test_no_output "delete 1"
gdb_test "watch thread" \
".*atchpoint \[0-9\]+: thread" \
- "Set plain watchpoint on variable 'thread'"
+ "set plain watchpoint on variable 'thread'"
# Make sure that 'if' when followed by an expression beginning
# with 'i' works.
gdb_test "watch thread if i = 2" \
".*atchpoint \[0-9\]+: thread" \
- "Set conditional watchpoint."
+ "set conditional watchpoint."
gdb_test "info break" \
".*${ws}.*atchpoint${ws}keep${ws}y${ws}thread${ws}.*atchpoint${ws}keep${ws}y${ws}thread${ws}stop only if i = 2" \
- "Check that watchpoint is set correctly."
+ "check that watchpoint is set correctly."
# Check for right error when using both 'if' and 'thread' clauses.
gdb_test "break foo.adb:$bp_location if thread = 10 thread 999" \
".*Unknown thread 999\\." \
- "Combination of 'if' and 'thread' delimiters."
+ "combination of 'if' and 'thread' delimiters."