From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24415 invoked by alias); 14 Oct 2004 17:25:13 -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 24387 invoked from network); 14 Oct 2004 17:25:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 14 Oct 2004 17:25:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CI9Lk-00048E-1I; Thu, 14 Oct 2004 13:25:12 -0400 Date: Thu, 14 Oct 2004 17:39:00 -0000 From: Daniel Jacobowitz To: Zack Weinberg Cc: gcc-patches@gcc.gnu.org Subject: Re: RFC Speed up dbxout.c a bit Message-ID: <20041014172512.GA15773@nevyn.them.org> Mail-Followup-To: Zack Weinberg , gcc-patches@gcc.gnu.org References: <877jptn0qm.fsf@codesourcery.com> <20041014132402.GA8948@nevyn.them.org> <87u0sxkzf6.fsf@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87u0sxkzf6.fsf@codesourcery.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg01200.txt.bz2 On Thu, Oct 14, 2004 at 10:00:29AM -0700, Zack Weinberg wrote: > Daniel Jacobowitz writes: > > > Unfortunately this won't work. Did you test on a target which breaks > > up stab strings? GDB (and probably other consumers) do a similar > > process of only putting the string back together in certain places. > > The majority of the code will fall down if you insert backslashes > > arbitrarily. > > Ugh. I guess I didn't test on such a target. Do you know what the > constraints are? If it's a simple rule like 'only at semicolons' it > won't be that hard to do after the fact. They're quite arbitrary. Take a look at STABS_CONTINUE (and one call in dbxread.c; you'll find it if you search for "cretinous"). -- Daniel Jacobowitz