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/] [chng-syms.c] - Diff between revs 24 and 33

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

Rev 24 Rev 33
/*
/*
 *   Test that GDB cleans up properly after errors that result when a
 *   Test that GDB cleans up properly after errors that result when a
 * breakpoint is reset.
 * breakpoint is reset.
 */
 */
 
 
/* VARIABLE is a macro defined on the compiler command line. */
/* VARIABLE is a macro defined on the compiler command line. */
 
 
#include <stdlib.h>
#include <stdlib.h>
 
 
int VARIABLE = 42;
int VARIABLE = 42;
 
 
void stop_here ()
void stop_here ()
{
{
  VARIABLE *= 2;
  VARIABLE *= 2;
}
}
 
 
int main ()
int main ()
{
{
  stop_here ();
  stop_here ();
  exit (0);
  exit (0);
}
}
 
 
 
 

powered by: WebSVN 2.1.0

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