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

Side by Side Diff: gdb/testsuite/gdb.base/setshow.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.base/set-noassign.exp ('k') | gdb/testsuite/gdb.base/setshow.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 /* IMPORTANT: leave this comment in the first line of this source file. */ 1 /* IMPORTANT: leave this comment in the first line of this source file. */
2 /* this will guarantee that line 1 contains no code. */ 2 /* this will guarantee that line 1 contains no code. */
3 3
4 #include <stdio.h> 4 #include <stdio.h>
5 5
6 #ifdef PROTOTYPES 6 #ifdef PROTOTYPES
7 int 7 int
8 main(int argc, char **argv) 8 main(int argc, char **argv)
9 #else 9 #else
10 int 10 int
11 main(argc, argv) 11 main(argc, argv)
12 int argc; 12 int argc;
13 char **argv; 13 char **argv;
14 #endif 14 #endif
15 { 15 {
16 int i = 1; 16 int i = 1;
17 #ifdef usestubs
18 set_debug_traps();
19 breakpoint();
20 #endif
21 17
22 if (argc <= 0 || argc > 8) 18 if (argc <= 0 || argc > 8)
23 return -1; 19 return -1;
24 while (i < argc) 20 while (i < argc)
25 printf ("%s ", argv[i++]); 21 printf ("%s ", argv[i++]);
26 return 0; 22 return 0;
27 } 23 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/set-noassign.exp ('k') | gdb/testsuite/gdb.base/setshow.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698