This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: FixMI stack frame output for synthetic frames)


-  while (in < 100)
-    in++;
+  int count = in;
+  while (count < 100)
+    count++;
Pss, add a comment explaining why the code is written that way :-)

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]