This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
This is a known problem (Sun C++ uses extensions to the stab format, which are not officially documented AFAIK). I suspect that it will remain a problem, until someone contributes clean patches or funds the necessary non trivial work involved. This is becoming a FAQ, perhaps we should add a note to gdb/README... > Hi, > > if I compile more than one c++-file with native CC 4.2 on > Solaris 2.5.1, gdb-4.16 seems to be unable to read the debugging > symbols from the resulting binary. > It is, however, able to do a backtrace if I run a binary > from within gdb, albeit the c++-method names are still mangled. > It is also unable to read a core generated by such a binary. > If I compile things with gcc (2.8.0 for that matter), debugging > is no problem at all. > > Does anybody know help, besides compiling with gcc or egc? > Are things different on Solaris 2.6? > > Guenther -- Peter Schauer pes@regent.e-technik.tu-muenchen.de