Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.base / setshow.c
blobfbaba0f5ddf02c7be0f232b1fda7c486d8001d85
1 /* IMPORTANT: leave this comment in the first line of this source file. */
2 /* this will guarantee that line 1 contains no code. */
4 #include <stdio.h>
6 #ifdef PROTOTYPES
7 int
8 main(int argc, char **argv)
9 #else
10 int
11 main(argc, argv)
12 int argc;
13 char **argv;
14 #endif
16 int i = 1;
17 #ifdef usestubs
18 set_debug_traps();
19 breakpoint();
20 #endif
22 if (argc <= 0 || argc > 8)
23 return -1;
24 while (i < argc)
25 printf ("%s ", argv[i++]);
26 return 0;