Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: gdb/testsuite/gdb.base/pointers.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/pie-execl.exp ('k') | gdb/testsuite/gdb.base/pointers.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/pie-execl.exp ('k') | gdb/testsuite/gdb.base/pointers.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698