[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-bugs
Subject:    gdb/ Solaris 8 ( compiler sun cc CC sun 5.3 (forte6))
From:       Clement VISSEAUX <clement.visseaux () sercel ! fr>
Date:       2001-11-30 14:40:53
Message-ID: 3C079A75.71203E9E () sercel ! fr
[Download RAW message or body]

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=C5E^@^\^@^HSunOS5.8^@^@^@^@de.c^@^@^@^@^@,f^U^@^\^@^PA=
dmBackupEtude.h^@^@^@^@^@,f^S^@^\^@^PAdmBackupEtude.c^@^@^@^@^@,f^W^@^\^@=
^PAdmCheckSurvey.h^@^@^@^@^@,f^X^@^X^@^OAdmCloseEtude.c^@^@,f^Y^@^X^@^OAd=
mCloseEtude.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^[^@^\^@^RAd=
mCommonSession.c^@^@^@,f'^@^\^@^PAdmDeleteEtude.h^@^@^@^@^@,f(^@^\^@^PAdm=
DuplicEtude.c^@^@^@^@^@,f)^@^\^@^PAdmDuplicEtude.h^@^@^@^@^@,f+^@^X^@^OAd=
mFormatFile.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




[Attachment #3 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#FF0000" \
alink="#000088"> &nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<pre><b>I used to work with DDD on Sun Solaris 2.5.1 with both gdb and dbx ,
with the Sun compilers</b></pre>
I have upgraded my system with<b> Solaris 2.8 </b>and the Forte 6 compiler
suite
<br>I also installed <b>DDD 3.3</b> and <b>gdb5.0</b>
<p><b>It turns out that DDD works apparently fine with dbx , supplied by
Sun , but not with gdb.</b>
<br>gdb does not seem to recognize properly the executable despite the
-g -xs compile flag.
<p>when I load an executable I do get the following information in the
main DDD window ( instead of the actual code )
<br>&nbsp;
<p>&nbsp;&nbsp; 1 AdmAdmin.c^@^@^@,f^R^@^T^@
<br>&nbsp;&nbsp; 2 AdmAdmin.h^@^@^@^E&Aring;E^@^\^@^HSunOS5.8^@^@^@^@de.c^@^@^@^@^@,f^ \
U^@^\^@^PAdmBackupEtude.h^@^@^@^@^@,f^S^@^\^@^PAdmBackupEtude.c^@^@^@^@^@,f^W^@^\^@^PA \
dmCheckSurvey.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"^@^\^@^PAdmCre \
ateEtude.h^@^@^@^@^@,f#^@^\^@^RAdmCreateSession.c^@^@^@,f*^@^X^@^OAdmFormatFile.c^@^@, \
f$^@^\^@^RAdmCreateSession.h^@^@^@,f^[^@^\^@^RAdmCommonSession.c^@^@^@,f'^@^\^@^PAdmDe \
leteEtude.h^@^@^@^@^@,f(^@^\^@^PAdmDuplicEtude.c^@^@^@^@^@,f)^@^\^@^PAdmDuplicEtude.h^@^@^@^@^@,f+^@^X^@^OAdmFormatFile.h^@^@,f,^@^T^@
 <br>&nbsp;
<p><b>does gdb works fine with the Sun compilers ( Forte 6) on Solaris
8 ?</b>
<br><b>or am I missing some compilation options or flags, apart from -g
-xs ?</b>
<br>do you have any clue
<p>thanks
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic