1 /* Test that things still (sort of) work when compiled without -g. */
3 int dataglobal
= 3; /* Should go in global data */
4 static int datalocal
= 4; /* Should go in local data */
5 int bssglobal
; /* Should go in global bss */
6 static int bsslocal
; /* Should go in local bss */
12 return x
+ dataglobal
+ datalocal
+ bssglobal
+ bsslocal
;
26 return 2 * middle (x
);
50 /* The basic concept is just "return arr[i];". But call malloc so that gdb
51 will be able to call functions. */
53 x
= (int *) malloc (sizeof (int));
This page took 0.029432 seconds and 4 git commands to generate.