OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [setshow.c] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* 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
 
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
15
{
16
  int i = 1;
17
#ifdef usestubs
18
  set_debug_traps();
19
  breakpoint();
20
#endif
21
 
22
  if (argc <= 0 || argc > 8)
23
    return -1;
24
  while (i < argc)
25
    printf ("%s ", argv[i++]);
26
  return 0;
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.