8f9ab80108
* gdb.base/args.c: New file. * gdb.base/args.exp: New file.
12 lines
159 B
C
12 lines
159 B
C
#include <stdio.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
int i = 0;
|
|
printf ("%d\n", argc);
|
|
while (i < argc)
|
|
printf ("%s\n", argv[i++]);
|
|
|
|
return 0;
|
|
}
|