]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.base/reread1.c
Commit | Line | Data |
c906108c SS |
1 | /* pr 13484 */ |
2 | |
3 | #include <stdio.h> |
4 | |
5 | int x; |
6 | |
7 | void bar() |
8 | { |
9 | x--; |
10 | } |
11 | |
12 | void foo() |
13 | { |
14 | x++; |
15 | } |
16 | |
17 | int main() |
18 | { |
19 | #ifdef usestubs |
20 | set_debug_traps (); |
21 | breakpoint (); |
22 | #endif |
23 | foo(); |
24 | bar(); |
25 | return 0; |
26 | } |