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