This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
C++ demagling on Solaris
- To: <gdb at sources dot redhat dot com>
- Subject: C++ demagling on Solaris
- From: "Christopher Currie" <christopher at currie dot com>
- Date: Mon, 2 Apr 2001 18:34:20 -0400
Hello all,
I'm having a hard time figuring out what I'm doing wrong with gdb on solaris
2.6. We've got an old copy of Sun CC (the c++ compiler) version 4.2, because
it's required by the application we're trying to work with. I've gotten as
far as compiling with the -xs flag to put the symbols in the executable, but
I can't get gdb to properly demangle the function names, so I can set
breakpoints to anything other than main without rooting around to find how
Sun CC mangled the name.
Any ideas?
My gdb version is 4.17 sparc-sun-solaris2.6, and CC -V reports:
CC: WorkShop Compilers 4.2 30 Oct 1996 C++ 4.2
Thanks in advance for your assistance.
Christopher Currie