OLD | NEW |
1 | 1 |
2 #if !defined (__STDC__) && !defined (_AIX) | 2 #if !defined (__STDC__) && !defined (_AIX) |
3 #define signed /**/ | 3 #define signed /**/ |
4 #endif | 4 #endif |
5 | 5 |
6 char v_char; | 6 char v_char; |
7 signed char v_signed_char; | 7 signed char v_signed_char; |
8 unsigned char v_unsigned_char; | 8 unsigned char v_unsigned_char; |
9 | 9 |
10 short v_short; | 10 short v_short; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 be referenced by the program source. If the variables are not | 84 be referenced by the program source. If the variables are not |
85 referenced, some linkers will remove the symbol from the symbol | 85 referenced, some linkers will remove the symbol from the symbol |
86 table making it impossible to refer to the variable in gdb. */ | 86 table making it impossible to refer to the variable in gdb. */ |
87 void usevar (void *var) {} | 87 void usevar (void *var) {} |
88 | 88 |
89 int main () | 89 int main () |
90 { | 90 { |
91 void dummy(); | 91 void dummy(); |
92 int more_code(); | 92 int more_code(); |
93 | 93 |
94 #ifdef usestubs | |
95 set_debug_traps(); | |
96 breakpoint(); | |
97 #endif | |
98 dummy(); | 94 dummy(); |
99 | 95 |
100 more_code (); | 96 more_code (); |
101 | 97 |
102 usevar (&v_int_pointer2); | 98 usevar (&v_int_pointer2); |
103 usevar (&rptr); | 99 usevar (&rptr); |
104 usevar (&y); | 100 usevar (&y); |
105 | 101 |
106 return 0; | 102 return 0; |
107 | 103 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 pI = &I; | 212 pI = &I; |
217 pUI = &UI; | 213 pUI = &UI; |
218 pL = &L; | 214 pL = &L; |
219 pUL = &UL; | 215 pUL = &UL; |
220 pF = &F; | 216 pF = &F; |
221 pD = &D; | 217 pD = &D; |
222 | 218 |
223 marker1(); | 219 marker1(); |
224 return 0; | 220 return 0; |
225 } | 221 } |
OLD | NEW |