aboutsummaryrefslogblamecommitdiff
path: root/src/tests/ktests/breakpoint/test.c
blob: cd577e096f699df7edc0251be3d89339ad01ba26 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                          
void test_breakpoint() {
	BEGIN_TEST("breakpoint-test");

	asm volatile("int $0x3");	// test breakpoint

	TEST_OK;
}

#undef TEST_PLACEHOLDER_AFTER_IDT
#define TEST_PLACEHOLDER_AFTER_IDT { test_breakpoint(); }

/* vim: set ts=4 sw=4 tw=0 noet :*/