It's not a gdb-lite issue! It's rather for release notes.
It's impossible to debug C++ projects on Open Solaris (111b) as GDB itself fails due to segmentation fault. At the same
time C programs can be debugged successfully. So it looks like an issue with C++ specific libraries. Probably the
problem caused by some libraries provided by SunStudio express installed on that machine as GDB works fine on
OpenSolaris build 101b.
I have same problem. I will investigate this problem. Now I found http://defect.opensolaris.org/bz/show_bug.cgi?id=2759
#2759 or CR 6520604 is other bug. I think we have such problems on OpenSolaris:
OpenSolaris 2008.11 - gdb doesn't work in 64-bit mode
OpenSolaris 2009.06 - gdb doesn't work in 32-bit and 64-bit modes
Also I want to underline, CR 6520604 (Cannot debug 64-bit applications on Solaris x64 with /usr/sfw/bin/gdb) is filed on
Solaris 10 in 2007-02-02
OpenSolaris 2009.06 contains two gcc compilers. If you installed gcc-432, then gdb 6.3 will fail on all c++ appications
delete these packages:
SUNWgcc432 (bug-8030) 4.3.2-0.111 installed ----
SUNWgccruntime432 (bug-8030) 4.3.2-0.111 installed ----
developer/gcc/gcc-432 4.3.2-0.111 installed ----
developer/gcc/gcc-dev-4 0.5.11-0.111 installed ----
developer/gcc/gcc-runtime-432 4.3.2-0.111 installed ----
install these packages:
SUNWgcc 3.4.3-0.111 installed ----
SUNWgccruntime 3.4.3-0.111 installed ----
There is no sense to have this as P2 as we can do nothing with the native gcc/gdb problem
There is no sense in keeping it even as P4. We just need to document this issue and may be warn user about this issue.
This issue and workaround is already in the release notes.
Closing this, was documented in 6.7