Skip to content

Commit be126db

Browse files
committed
add hardware breakpoint test
1 parent 1d5022d commit be126db

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

hw.c

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
int func_1()
3+
{
4+
return 1;
5+
}
6+
7+
int func_2()
8+
{
9+
return 2;
10+
}
11+
12+
int func_3()
13+
{
14+
return 3;
15+
}
16+
17+
int func_4()
18+
{
19+
return 4;
20+
}
21+
22+
int func_5()
23+
{
24+
return 5;
25+
}
26+
27+
int func_6()
28+
{
29+
return 6;
30+
}
31+
32+
int func_7()
33+
{
34+
return 7;
35+
}
36+
37+
int func_8()
38+
{
39+
return 8;
40+
}
41+
42+
int main()
43+
{
44+
int num_1 = 0, num_2 = 0, num_3 = 0, num_4 = 0;
45+
int num_5 = 0, num_6 = 0, num_7 = 0, num_8 = 0;
46+
47+
num_1 = func_1();
48+
num_2 = func_2();
49+
num_3 = func_3();
50+
num_4 = func_4();
51+
num_5 = func_5();
52+
num_6 = func_6();
53+
num_7 = func_7();
54+
num_8 = func_8();
55+
56+
return num_1 + num_2 + num_3 + num_4 + num_5 + num_6 + num_7 + num_8;
57+
}

0 commit comments

Comments
 (0)