OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gdb/] [gdb-6.8/] [gdb-6.8.openrisc-2.1/] [gdb/] [testsuite/] [gdb.base/] [setshow.c] - Diff between revs 24 and 33

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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