This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Setting the demangling style


On Wed, Oct 02, 2002 at 07:10:29PM -0400, Daniel Berlin wrote:
> I would venture nobody noticed because nobody changed the demangling 
> style, not because it was coded this way.
> > 
> > Perhaps we need to decide what the point of letting users force the
> > demangle style is, first.
> Assembler printouts.

In that case I have to wonder what the point of the feature is; if we
always rely on auto anyway, then presumably we'll get it right in
assembler printouts too!  "set demangle off" is a different story.  (And
we don't demangle all or most names in assembly code as it is... I
think.)

So, I have to ask: does anyone consider setting the demangling style to
anything besides "auto" to be a useful feature?  I don't, for these
reasons:
  - Inconsistent behavior, as Daniel B. points out
  - Unclear intention - what it should affect
  - Current general uselessness - the only mangled languages we support
    right now are actually GNU v2 and GNU v3/"the new ABI" mangling.
    I don't know what HP aCC C++ support uses offhand but in the future
    it will be v3.  And the current support is all rotten.

I'd like to see the command go away if we can't come up with a meaning
for it!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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