This is the mail archive of the gdb@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]

Re: "set demangle"


On Tue, 14 Jan 2003 18:32:53 -0500, Daniel Jacobowitz <drow@mvista.com> said:

> Consider this command:
> (gdb) set demangle-style
> Requires an argument. Valid arguments are none, auto, gnu, lucid, arm, hp, edg, gnu-v3, java, gnat.

> There's a big question and a big problem.
>   - Is it necessary?  Are there things whih demangle ambiguously in any of
> the languages we support?

>   - It doesn't really work.  It only affects symbol files loaded _after_ you
> set it; if you see a problem and "set demangle-style", you're too late to
> fix it.

> Do we need it?  If so, do we need to "fix" the problem?  It would probably
> involve re-demangling everything and re-hashing.

I hope that we don't need it.  But, even if it does turn out to be
necessary in some bizarre cases, it seems like requiring the user to
reload the file after running the command would be reasonable.  (But
that necessity should be documented, of course!)

David Carlton
carlton@math.stanford.edu


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