]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.base/reread2.c
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / reread2.c
1 /* pr 13484 */
2
3 #include <stdio.h>
4
5 int x;
6
7 void foo()
8 {
9 x++;
10 printf("This is foo\n");
11 }
12
13 int main()
14 {
15 #ifdef usestubs
16 set_debug_traps ();
17 breakpoint ();
18 #endif
19 foo();
20 return 0;
21 }