[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: how to trace the code of Xorg from the application
From: Egbert Eich <eich () suse ! de>
Date: 2007-02-28 9:35:43
Message-ID: 17893.19695.921884.360423 () wlan-hermes ! suse ! de
[Download RAW message or body]
LongdaFeng@viatech.com.cn writes:
> Hi everyone:
>
> First, any advice is appreciated!
>
>
>
> 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,
>
> I can add breakpoint in the function XextAddDisplay ,but the
> ddd can't debug the function of XextAddDisplay
>
This seems to indicate that either you have not built this part of Xt
with "-g" or something in your build process has stripped this info off.
>
>
> Addition: I run on Xorg6.9, the host.def is as attachment . I
> build the Xorg with -g flag in the host.def
>
> #define DefaultGcc2i386Opt -O0 -g0 -march=pentium3 -pipe
^^^
Please take out the '0'. I'm not sure what level 0 actually means but
smaller numbers usually include less debugging information. 2 is the
default. I'd suggest you leave it there and just do '-g'.
Cheers,
Egbert.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic