I used to work with DDD on Sun Solaris 2.5.1 with both gdb and dbx ,
with the Sun compilers
I have upgraded my system with Solaris 2.8 and the Forte 6 compiler
suite
I also installed DDD 3.3 and gdb5.0
It turns out that DDD works apparently fine with dbx , supplied by
Sun , but not with gdb.
gdb does not seem to recognize properly the executable despite the
-g -xs compile flag.
when I load an executable I do get the following information in the
main DDD window ( instead of the actual code )
1 AdmAdmin.c^@^@^@,f^R^@^T^@
2 AdmAdmin.h^@^@^@^EÅE^@^\^@^HSunOS5.8^@^@^@^@de.c^@^@^@^@^@,f^U^@^\^@^PAdmBackupEtude.h^@^@^@^@^@,f^S^@^\^@^PAdmBackupEtude.c^@^@^@^@^@,f^W^@^\^@^PAdmCheckSurvey.h^@^@^@^@^@,f^X^@^X^@^OAdmCloseEtude.c^@^@,f^Y^@^X^@^OAdmCloseEtude.h^@^@,f^Z^@^T^@^KAdmCommon.c^@^@,f^V^@^\^@^PAdmCheckSurvey.c^@^@^@^@^@,f^\^@^T^@^KAdmConfig.c^@^@,f^]^@^T^@^KAdmConfig.h^@^@,f^_^@^\^@^SAdmCreateDatabase.c^@^@,f
^@^\^@^SAdmCreateDatabase.h^@^@,f!^@^\^@^PAdmCreateEtude.c^@^@^@^@^@,f"^@^\^@^PAdmCreateEtude.h^@^@^@^@^@,f#^@^\^@^RAdmCreateSession.c^@^@^@,f*^@^X^@^OAdmFormatFile.c^@^@,f$^@^\^@^RAdmCreateSession.h^@^@^@,f^[^@^\^@^RAdmCommonSession.c^@^@^@,f'^@^\^@^PAdmDeleteEtude.h^@^@^@^@^@,f(^@^\^@^PAdmDuplicEtude.c^@^@^@^@^@,f)^@^\^@^PAdmDuplicEtude.h^@^@^@^@^@,f+^@^X^@^OAdmFormatFile.h^@^@,f,^@^T^@
does gdb works fine with the Sun compilers ( Forte 6) on Solaris
8 ?
or am I missing some compilation options or flags, apart from -g
-xs ?
do you have any clue
thanks