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

Side by Side Diff: gdb/testsuite/gdb.base/setvar.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/setshow.exp ('k') | gdb/testsuite/gdb.base/setvar.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 #include <stdlib.h> 1 #include <stdlib.h>
2 2
3 #ifdef PROTOTYPES 3 #ifdef PROTOTYPES
4 int main (int argc, char **argv, char **envp) 4 int main (int argc, char **argv, char **envp)
5 #else 5 #else
6 main (argc, argv, envp) 6 main (argc, argv, envp)
7 int argc; 7 int argc;
8 char **argv; 8 char **argv;
9 char **envp; 9 char **envp;
10 #endif 10 #endif
11 { 11 {
12 extern void dummy(); 12 extern void dummy();
13 #ifdef usestubs
14 set_debug_traps();
15 breakpoint();
16 #endif
17 dummy(); 13 dummy();
18 return 0; 14 return 0;
19 } 15 }
20 16
21 /* We put main() right up front so its line number doesn't keep changing. */ 17 /* We put main() right up front so its line number doesn't keep changing. */
22 18
23 /* 19 /*
24 * Test file with lots of different types, for testing the 20 * Test file with lots of different types, for testing the
25 * "whatis" command. 21 * "whatis" command.
26 */ 22 */
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 u_link.next = s_link; 265 u_link.next = s_link;
270 266
271 v_struct2.v_int_member = v_struct1.v_int_member; 267 v_struct2.v_int_member = v_struct1.v_int_member;
272 v_union2.v_short_member = v_union.v_short_member; 268 v_union2.v_short_member = v_union.v_short_member;
273 269
274 #ifdef __GNUC__ 270 #ifdef __GNUC__
275 sef.field = s1; 271 sef.field = s1;
276 uef.field = u1; 272 uef.field = u1;
277 #endif 273 #endif
278 } 274 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/setshow.exp ('k') | gdb/testsuite/gdb.base/setvar.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698