This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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-n-continue


Mike Stump wrote:

Here are some patches to support fast turn around debugging for darwin...

Minor point:


+   lprefix = (((name[0] == '*' || name[0] == '&')
+               && (name[1] == 'L' || (name[1] == '"' && name[2] == 'L')))
+              || (name[0] == '_'
+                  && name[1] == 'O'
+                  && name[2] == 'B'
+                  && name[3] == 'J'
+                  && name[4] == 'C'
+                  && name[5] == '_'));



Should just be "strncmp (name, "_OBJC_", 6)" -- unless you're convinced that you get inferior code that way?

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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