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: RFC Speed up dbxout.c a bit


On Thu, Oct 14, 2004 at 10:00:29AM -0700, Zack Weinberg wrote:
> Daniel Jacobowitz <drow@false.org> 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


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