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

Side by Side Diff: gdb/testsuite/gdb.base/whatis.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/watchpoints.exp ('k') | gdb/testsuite/gdb.base/whatis.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 /* This test program is part of GDB, the GNU debugger. 1 /* This test program is part of GDB, the GNU debugger.
2 2
3 Copyright 1992-1994, 1997, 1999, 2004, 2007-2012 Free Software 3 Copyright 1992-1994, 1997, 1999, 2004, 2007-2012 Free Software
4 Foundation, Inc. 4 Foundation, Inc.
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or 8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 /**** Enumerations *******/ 242 /**** Enumerations *******/
243 243
244 enum colors {red, green, blue} color; 244 enum colors {red, green, blue} color;
245 enum cars {chevy, ford, porsche} clunker; 245 enum cars {chevy, ford, porsche} clunker;
246 246
247 /***********/ 247 /***********/
248 248
249 int main () 249 int main ()
250 { 250 {
251 #ifdef usestubs
252 set_debug_traps();
253 breakpoint();
254 #endif
255 /* Some linkers (e.g. on AIX) remove unreferenced variables, 251 /* Some linkers (e.g. on AIX) remove unreferenced variables,
256 so make sure to reference them. */ 252 so make sure to reference them. */
257 v_char = 0; 253 v_char = 0;
258 v_signed_char = 1; 254 v_signed_char = 1;
259 v_unsigned_char = 2; 255 v_unsigned_char = 2;
260 256
261 v_short = 3; 257 v_short = 3;
262 v_signed_short = 4; 258 v_signed_short = 4;
263 v_unsigned_short = 5; 259 v_unsigned_short = 5;
264 260
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 u_link.next = s_link; 332 u_link.next = s_link;
337 333
338 v_union2.v_short_member = v_union.v_short_member; 334 v_union2.v_short_member = v_union.v_short_member;
339 335
340 v_struct1.v_char_member = 0; 336 v_struct1.v_char_member = 0;
341 v_struct2.v_char_member = 0; 337 v_struct2.v_char_member = 0;
342 338
343 nested_su.outer_int = 0; 339 nested_su.outer_int = 0;
344 return 0; 340 return 0;
345 } 341 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/watchpoints.exp ('k') | gdb/testsuite/gdb.base/whatis.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698