1b test 2b main.c:29 3c 4 5# break at test() 6s 7set var a = 2 8c 9# break at main() 10 11# set the last breakpoint before quit 12b k_thread_abort 13 14if ret == 6 15 printf "GDB:PASSED\n" 16 # exit main() and continue with code coverage dump, if configured 17 c 18 # remove some of the breakpoints to check. 19 clear test 20 clear k_thread_abort 21 info break 22 quit 0 23else 24 printf "GDB:FAILED\n" 25 c 26 quit 1 27end 28