This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: dbx and gcc names
- To: hanymorcos at yahoo dot com
- Subject: Re: dbx and gcc names
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 15 Feb 2000 19:39:11 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <20000215152125.12189.qmail@web3202.mail.yahoo.com>
> For some reason dbx picks and displays mangaled gcc names. And the
> only way I can set breakpoint is to use gcc's mangaled naming
> convension.
That would be a dbx problem, not a gcc problem, wouldn't it? I
recommend to use gdb instead.
> I compiled with --with-gdwarf2. Where does DBX_DEBUGGING_INFO plays
> a role in all of this?
No. The debugging format primarily deals with C affairs, such as local
variables, data types, and so on. The symbol demangling is always done
by the debugger - if it is capable of doing so.
Regards,
Martin