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

Side by Side Diff: gdb/testsuite/gdb.cp/derivation.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/demangle.exp ('k') | gdb/testsuite/gdb.cp/derivation.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 class A { 1 class A {
2 public: 2 public:
3 int a; 3 int a;
4 int aa; 4 int aa;
5 5
6 A() 6 A()
7 { 7 {
8 a=1; 8 a=1;
9 aa=2; 9 aa=2;
10 } 10 }
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 { 201 {
202 202
203 A a_instance; 203 A a_instance;
204 B b_instance; 204 B b_instance;
205 C c_instance; 205 C c_instance;
206 D d_instance; 206 D d_instance;
207 E e_instance; 207 E e_instance;
208 F f_instance; 208 F f_instance;
209 G g_instance; 209 G g_instance;
210 210
211 #ifdef usestubs
212 set_debug_traps();
213 breakpoint();
214 #endif
215
216
217 marker1(); // marker1-returns-here 211 marker1(); // marker1-returns-here
218 212
219 a_instance.a = 20; // marker1-returns-here 213 a_instance.a = 20; // marker1-returns-here
220 a_instance.aa = 21; 214 a_instance.aa = 21;
221 b_instance.b = 22; 215 b_instance.b = 22;
222 b_instance.bb = 23; 216 b_instance.bb = 23;
223 c_instance.c = 24; 217 c_instance.c = 24;
224 c_instance.cc = 25; 218 c_instance.cc = 25;
225 d_instance.d = 26; 219 d_instance.d = 26;
226 d_instance.dd = 27; 220 d_instance.dd = 27;
227 e_instance.e = 28; 221 e_instance.e = 28;
228 e_instance.ee =29; 222 e_instance.ee =29;
229 f_instance.f =30; 223 f_instance.f =30;
230 f_instance.ff =31; 224 f_instance.ff =31;
231 225
232 226
233 227
234 228
235 return 0; 229 return 0;
236 230
237 } 231 }
238 232
239 233
240 234
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.cp/demangle.exp ('k') | gdb/testsuite/gdb.cp/derivation.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698