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: [PATCH] automated demangling styles list.


On Wed, Jun 12, 2002 at 04:30:21PM -0400, DJ Delorie wrote:
> 
> > If anyone is interested, I can provide a patch without the dlopen
> > change.
> 
> If you're trying to get your changes into the master repository, that
> would be a requirement.  Splitting it up into independent changes
> would help us review them - send the smallest and most likely to be
> approved first, so we can reduce the divergence until we get a chance
> to work through the more complicated ones.
> 

Here is the first patch. I have build gdb, binutils and gcc with it.
I added a few new demangle functions. I can take some of them out if
people don't like them.

I have some follow up patches which will fix the binutils for things
like

# nm -help
...
  -C, --demangle[=STYLE] Decode low-level symbol names into user-level names
                          The STYLE, if specified, can be `auto' (the default),
                          `gnu', 'lucid', 'arm', 'hp', 'edg' or 'gnu-new-abi'

There is no such a thing of "gnu-new-abi" and it misses "java", "gnat".
My patch uses the new function, get_demangler_list ().


H.J.

Attachment: demangle-1.patch
Description: Text document


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