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

Side by Side Diff: gdb/testsuite/gdb.trace/actions.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/Makefile.in ('k') | gdb/testsuite/gdb.trace/actions.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 trace action commands 2 * Test program for trace action commands
3 */ 3 */
4 4
5 #include <string.h> 5 #include <string.h>
6 6
7 static char gdb_char_test; 7 static char gdb_char_test;
8 static short gdb_short_test; 8 static short gdb_short_test;
9 static long gdb_long_test; 9 static long gdb_long_test;
10 static char gdb_arr_test[25]; 10 static char gdb_arr_test[25];
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 113
114 int 114 int
115 main (argc, argv, envp) 115 main (argc, argv, envp)
116 int argc; 116 int argc;
117 char *argv[], **envp; 117 char *argv[], **envp;
118 { 118 {
119 int i; 119 int i;
120 unsigned long myparms[10]; 120 unsigned long myparms[10];
121 121
122 #ifdef usestubs
123 set_debug_traps ();
124 breakpoint ();
125 #endif
126
127 begin (); 122 begin ();
128 for (i = 0; i < sizeof (myparms) / sizeof (myparms[0]); i++) 123 for (i = 0; i < sizeof (myparms) / sizeof (myparms[0]); i++)
129 myparms[i] = i; 124 myparms[i] = i;
130 125
131 gdb_c_test (&myparms[0]); 126 gdb_c_test (&myparms[0]);
132 127
133 end (); 128 end ();
134 return 0; 129 return 0;
135 } 130 }
136 131
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.trace/Makefile.in ('k') | gdb/testsuite/gdb.trace/actions.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698