This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Get rid of underscore.c


On Fri, Sep 13, 2002 at 02:22:38PM -0400, DJ Delorie wrote:
> 
> > Code like this needs to be pushed into libiberty where GDB can also use 
> > it.  At present GDB has its own equivalent of these operations :-(
> 
> I don't agree that libiberty is the right place for keeping the
> details of assembler syntax of various platforms.  That sounds more
> like a bfd thing.
> 
> If it were part of the demangler, though, I think that would be OK.
> More likely, the app should *tell* the demangler which characters are
> valid.  GCC, for example, has command line options that change the set
> of valid characters.

Right now, the app is doing precisely that.  This code should be read
as part of an app that uses the demangler, not part of the demangler
itself - that code is in libiberty/cp-demangle.c and cplus-dem.c.

zw


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