7ee554b50e
* gdb.base/reread1.c: New file. * gdb.base/reread2.c: New file.
26 lines
197 B
C
26 lines
197 B
C
/* 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;
|
|
}
|