Lines Matching full:commands

26 # test special commands (if, while, etc)
33 set binfile ${objdir}/${subdir}/commands
153 send_gdb "commands\n"
156 pass "commands in if_while_breakpoint_command_test"
159 fail "(timeout or eof) commands in if_while_breakpoint_command_test"
165 "commands part 2 in if_while_breakpoint_command_test"
175 # Test that we can run the inferior from breakpoint commands.
177 # The expected behavior is that all commands after the first "step"
178 # shall be ignored. See the gdb manual, "Break Commands",
197 # part1: issue the gdb command "commands"
198 # part2: send the list of commands
199 send_gdb "commands\n"
202 pass "commands in infrun_breakpoint_command_test #1"
205 fail "(timeout or eof) commands in infrun_breakpoint_command_test"
209 "commands in infrun_breakpoint_command_test #2"
231 gdb_test "commands\nprintf \"Now the value is %d\\n\", value\nend" \
232 "End with.*" "commands in breakpoint_command_test"
258 "enter commands in user_defined_command_test"
281 # Verify that we can create a watchpoint, and give it a commands
307 send_gdb "commands $wp_id\n"
309 -re "Type commands for when breakpoint $wp_id is hit, one per line.*>" {
310 pass "begin commands on watch"
312 -re "$gdb_prompt $" {fail "begin commands on watch"}
313 timeout {fail "(timeout) begin commands on watch"}
329 -re "$gdb_prompt $" {pass "end commands on watch"}
330 timeout {fail "(timeout) end commands on watch"}
362 # prompt for commands. It should be at the beginning of the line,
365 send_gdb "commands\n"
367 -re "Type commands.*End with.*\[\r\n\]>$" {
393 -re "Type commands.*End with.*\[\r\n\] >$" {
397 fail "commands in test_command_prompt_position"
399 timeout { fail "(timeout) 3 commands in test_command_prompt_position" }
460 send_gdb "commands\n"
462 -re "Type commands for when breakpoint .* is hit, one per line.*>" {
463 pass "begin commands in bp_deleted_in_command_test"
465 -re "$gdb_prompt $" {fail "begin commands in bp_deleted_in_command_test"}
466 timeout {fail "(timeout) begin commands bp_deleted_in_command_test"}
492 -re "$gdb_prompt $" {pass "end commands"}
493 timeout {fail "(timeout) end commands"}
520 # Create a temporary breakpoint, and associate a commands list to it.
521 # This test will verify that this commands list is executed when the
527 send_gdb "commands\n"
529 -re "Type commands for when breakpoint .* is hit, one per line.*>" {
530 pass "begin commands in bp_deleted_in_command_test"
532 -re "$gdb_prompt $" {fail "begin commands in bp_deleted_in_command_test"}
533 timeout {fail "(timeout) begin commands bp_deleted_in_command_test"}
541 send_gdb "printf \"factorial tbreak commands executed\\n\"\n"
554 -re "$gdb_prompt $" {pass "end tbreak commands"}
555 timeout {fail "(timeout) end tbreak commands"}
560 -re ".*factorial tbreak commands executed.*1.*$gdb_prompt $" {