aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/reread2.c
blob: fd9f7b7ad64be423a721543b10ab8a6814ffa0a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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;
}