Add comment missing from previous patch.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.trace / limits.c
CommitLineData
c906108c
SS
1/*
2 * Test program for tracing internal limits (number of tracepoints etc.)
3 */
4
5int n = 6;
6
7int arr[64];
8
9static void foo(int x)
10{
11}
12
13static void bar(int y)
14{
15}
16
17static void baz(int z)
18{
19}
20
21static void begin () /* called before anything else */
22{
23}
24
25static void end () /* called after everything else */
26{
27}
28
29int
30main (argc, argv, envp)
31 int argc;
32 char *argv[], **envp;
33{
34 int i;
35
36#ifdef usestubs
37 set_debug_traps ();
38 breakpoint ();
39#endif
40
41 begin ();
42 for (i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
43 arr[i] = i + 1;
44
45 foo (1);
46 bar (2);
47 baz (3);
48 end ();
49 return 0;
50}
51
This page took 1.019831 seconds and 4 git commands to generate.