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

27 lines
197 B
C
Raw Normal View History

/* pr 13484 */
#include <stdio.h>
int x;
void bar()
{
x--;
}
void foo()
{
x++;
}
int main()
{
#ifdef usestubs
set_debug_traps ();
breakpoint ();
#endif
foo();
bar();
return 0;
}