This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: GDB PATCH to disable specific G++ demangling
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: GDB PATCH to disable specific G++ demangling
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: Mon, 18 Dec 2000 03:42:10 -0500 (EST)
- cc: jason at redhat dot com, gdb-patches at sources dot redhat dot com
>
> Could you possibly say a few words about this change, and what exactly
> is its effect, for those who don't know by heart what AUTO_DEMANGLING
> does?
AUTO_DEMANGLING detects the mangling style automatically, and demangles it
based on that.
This change defaults to doing this, now that we have two very different
demangling styles about to common usage, and we previously defaulted to
assuming we had one of these styles (the old abi mangling) if we
determined it was a gcc compiled program, and we were using dwarf or
stabs.
AUTO_DEMANGLING can detect and demangle new-abi, old-abi, java, and a
bunch of others.
I would have fixed this before, but i mainly deal with dwarf2, which we
default to AUTO_DEMANGLING.
> > I recall that I had to make a change in GDB at the time to make it
> recognize DJGPP programs as compiled by GCC. I'd like to make sure
> this change doesn't undo what I did back then. (Unfortunately, I
> don't have a recent snapshot on my machine and don't have time to
> download and try it, to find this out myself.)
No, it doesn't, unless your change was broken to begin with (IE depended
on the old-abi mangling being present, which won't work now anyway).
--Dan