<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="chmetcnv" downloadurl=""/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Hi everyone:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>
First, any advice is appreciated!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>
Recently, I run doom3-demo, it failed on the function XextAddDisplay which is
in libXext.so.6(it lie in the xc/lib/Xext), I use gdb&ddd on two pc,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'> I can
add breakpoint in the function XextAddDisplay ,but the ddd can’t debug
the function of XextAddDisplay<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>
Addition: I run on Xorg6.9, the host.def is as attachment . I build the Xorg
with –g flag in the host.def<o:p></o:p></span></font></p>
<p class=MsoPlainText style='text-indent:21.0pt'><font size=2
face="Times New Roman"><span lang=EN-US style='font-size:10.0pt;font-family:
"Times New Roman"'>#define DefaultGcc2i386Opt -O0 –g0
-march=pentium3 -pipe<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'>
#define MakeDllModules YES<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'>
<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'>
It seems the libXext.so.6 is a release version, so how to make it become debug version<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'>
I open program and attach doom.x<st1:chmetcnv TCSC="0" NumberType="1"
Negative="False" HasSpace="True" SourceValue="86" UnitName="in" w:st="on">86 in</st1:chmetcnv>
the ddd, <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'>
THANK YOU VERY MUCH, any advice is appreciated!!!!<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt;font-family:"Times New Roman"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt'>Best regards</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt'>Longda Feng</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>