warn if "source" fails to open the file when from_tty == 0
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / setshow.c
CommitLineData
c906108c
SS
1/* IMPORTANT: leave this comment in the first line of this source file. */
2/* this will guarantee that line 1 contains no code. */
3
4#include <stdio.h>
5
085dd6e6
JM
6#ifdef PROTOTYPES
7int
8main(int argc, char **argv)
9#else
c906108c
SS
10int
11main(argc, argv)
12 int argc;
13 char **argv;
085dd6e6 14#endif
c906108c
SS
15{
16 int i = 1;
c906108c
SS
17
18 if (argc <= 0 || argc > 8)
19 return -1;
20 while (i < argc)
21 printf ("%s ", argv[i++]);
22 return 0;
23}
This page took 2.268274 seconds and 4 git commands to generate.