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

Side by Side Diff: gdb/testsuite/gdb.cp/ref-params.cc

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.cp/readnow-language.exp ('k') | gdb/testsuite/gdb.cp/ref-params.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 script is part of GDB, the GNU debugger. 1 /* This test script is part of GDB, the GNU debugger.
2 2
3 Copyright 2006-2012 Free Software Foundation, Inc. 3 Copyright 2006-2012 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or 7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int mf2(MultiChild& C) 54 int mf2(MultiChild& C)
55 { 55 {
56 return mf1(C); 56 return mf1(C);
57 } 57 }
58 58
59 int main(void) 59 int main(void)
60 { 60 {
61 Child Q(42); 61 Child Q(42);
62 Child& QR = Q; 62 Child& QR = Q;
63 63
64 #ifdef usestubs
65 set_debug_traps();
66 breakpoint();
67 #endif
68
69 /* Set breakpoint marker1 here. */ 64 /* Set breakpoint marker1 here. */
70 65
71 f2(Q); 66 f2(Q);
72 f2(QR); 67 f2(QR);
73 68
74 MultiChild MQ(53); 69 MultiChild MQ(53);
75 MultiChild& MQR = MQ; 70 MultiChild& MQR = MQ;
76 71
77 mf2(MQ); /* Set breakpoint MQ here. */ 72 mf2(MQ); /* Set breakpoint MQ here. */
78 } 73 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.cp/readnow-language.exp ('k') | gdb/testsuite/gdb.cp/ref-params.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698