From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21869 invoked by alias); 3 Aug 2004 18:14:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 21846 invoked from network); 3 Aug 2004 18:14:53 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.5) by sourceware.org with SMTP; 3 Aug 2004 18:14:53 -0000 Received: (qmail 20104 invoked from network); 3 Aug 2004 18:14:52 -0000 Received: from localhost (HELO ?192.168.0.105?) (mitchell@127.0.0.1) by mail.codesourcery.com with SMTP; 3 Aug 2004 18:14:52 -0000 Message-ID: <410FD616.50508@codesourcery.com> Date: Tue, 03 Aug 2004 18:15:00 -0000 From: Mark Mitchell Organization: CodeSourcery, LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: Mike Stump CC: gcc-patches@gcc.gnu.org Subject: Re: fix-n-continue References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00172.txt.bz2 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