repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.base
/
chng-syms.c
blob
3394f5c3897a335f749ed29fe0dfd2ffe650f6cf
1
/*
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