old-cross-binutils/gdb/testsuite/gdb.base/setshow.c

24 lines
405 B
C
Raw Normal View History

/* IMPORTANT: leave this comment in the first line of this source file. */
/* this will guarantee that line 1 contains no code. */
#include <stdio.h>
1999-06-28 16:06:02 +00:00
#ifdef PROTOTYPES
int
main(int argc, char **argv)
#else
int
main(argc, argv)
int argc;
char **argv;
1999-06-28 16:06:02 +00:00
#endif
{
int i = 1;
if (argc <= 0 || argc > 8)
return -1;
while (i < argc)
printf ("%s ", argv[i++]);
return 0;
}