aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/twice.c
blob: 09eb2ddf5a23d92c502c999a89bbd5d8470d9b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
int nothing ()

{
    int x = 3 ;
    return x ;
}


int main ()

{
    int y ;
#ifdef usestubs
    set_debug_traps();
    breakpoint();
#endif    
    y = nothing () ;
    printf ("hello\n") ;
    return 0;
}