Lines Matching full:test
2 * Test for x86 debugging facilities
97 static void __run_single_step_db_test(db_test_fn test, db_report_fn report_fn) in __run_single_step_db_test() argument
105 start = test(); in __run_single_step_db_test()
109 * MOV DR #GPs at CPL>0, don't try to run the DR7.GD test in usermode. in __run_single_step_db_test()
112 if (test == singlestep_with_movss_blocking_and_dr7_gd in __run_single_step_db_test()
113 || test == singlestep_with_sti_hlt) in __run_single_step_db_test()
120 * Run the test in usermode. Use the expected start RIP from the first in __run_single_step_db_test()
122 * RIP out of the test, and it shouldn't change in any case. Run the in __run_single_step_db_test()
123 * test with IOPL=3 so that it can use OUT, CLI, STI, etc... in __run_single_step_db_test()
126 run_in_user((usermode_func)test, GP_VECTOR, 0, 0, 0, 0, &ign); in __run_single_step_db_test()
140 "%sSingle-step #DB basic test", usermode); in report_singlestep_basic()
503 "hw breakpoint (test that dr6.BS is not set)"); in main()
513 "hw breakpoint (test that dr6.BS is not cleared)"); in main()
536 "hw watchpoint (test that dr6.BS is not cleared)"); in main()
549 "hw watchpoint (test that dr6.BS is not set)"); in main()