This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: "set demangle"
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb at sources dot redhat dot com
- Date: 14 Jan 2003 16:03:39 -0800
- Subject: Re: "set demangle"
- References: <20030114233253.GA9881@nevyn.them.org>
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