Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: gdb/testsuite/gdb.trace/circ.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.trace/change-loc.exp ('k') | gdb/testsuite/gdb.trace/circ.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Test program for tracing; circular buffer 2 * Test program for tracing; circular buffer
3 */ 3 */
4 4
5 int n = 6; 5 int n = 6;
6 6
7 int testload[13]; 7 int testload[13];
8 8
9 static void func0(void) 9 static void func0(void)
10 { 10 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 { 54 {
55 } 55 }
56 56
57 int 57 int
58 main (argc, argv, envp) 58 main (argc, argv, envp)
59 int argc; 59 int argc;
60 char *argv[], **envp; 60 char *argv[], **envp;
61 { 61 {
62 int i; 62 int i;
63 63
64 #ifdef usestubs
65 set_debug_traps ();
66 breakpoint ();
67 #endif
68
69 begin (); 64 begin ();
70 for (i = 0; i < sizeof(testload) / sizeof(testload[0]); i++) 65 for (i = 0; i < sizeof(testload) / sizeof(testload[0]); i++)
71 testload[i] = i + 1; 66 testload[i] = i + 1;
72 67
73 func0 (); 68 func0 ();
74 func1 (); 69 func1 ();
75 func2 (); 70 func2 ();
76 func3 (); 71 func3 ();
77 func4 (); 72 func4 ();
78 func5(); 73 func5();
79 func6 (); 74 func6 ();
80 func7 (); 75 func7 ();
81 func8 (); 76 func8 ();
82 func9 (); 77 func9 ();
83 78
84 end (); 79 end ();
85 80
86 #ifdef usestubs
87 breakpoint ();
88 #endif
89 return 0; 81 return 0;
90 } 82 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.trace/change-loc.exp ('k') | gdb/testsuite/gdb.trace/circ.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698