binutils-gdb/gdb/testsuite/gdb.base/reread2.c

22 lines
192 B
C
Raw Normal View History

/* pr 13484 */
#include <stdio.h>
int x;
void foo()
{
x++;
printf("This is foo\n");
}
int main()
{
#ifdef usestubs
set_debug_traps ();
breakpoint ();
#endif
foo();
return 0;
}