how to debug Xserver Module?
Alan Coopersmith
alan.coopersmith at sun.com
Tue Nov 28 08:00:50 PST 2006
余涛 wrote:
> hi everyone:
>
> Recently, i'm debugging Xserver with two PCs, the system of target pc is FedoraCore4
> with Xorg 6.8.2 installed, and now i knew how to debug Xserver, but i didn't know how to
> debug the modules loaded by startx.
> I have read ./Xserver/hw/xfree86/DebuggingHints and didn't find the patches to gdb to
> add support for loadable modules, for the web site i can't link :
> www.dawa.demon.co.uk/xfree-gdb
Use dlloader modules (default in 6.9 and later, available as an Imake option
in older builds) instead of the old custom-format elfloader modules and all
the normal debugging tools just work, without needing special customized
versions like the xfree-gdb you're looking for.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list