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]

C++ demagling on Solaris


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



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