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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.base/] [chng-syms.c] - Blame information for rev 252

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/*
2
 *   Test that GDB cleans up properly after errors that result when a
3
 * breakpoint is reset.
4
 */
5
 
6
/* VARIABLE is a macro defined on the compiler command line. */
7
 
8
#include <stdlib.h>
9
 
10
int VARIABLE = 42;
11
 
12
void stop_here ()
13
{
14
  VARIABLE *= 2;
15
}
16
 
17
int main ()
18
{
19
  stop_here ();
20
  exit (0);
21
}
22
 

powered by: WebSVN 2.1.0

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