This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix-n-continue
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Aug 2004 11:14:46 -0700
- Subject: Re: fix-n-continue
- Organization: CodeSourcery, LLC
- References: <F411B1AC-E287-11D8-A75B-003065BDF310@apple.com>
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