how to debug Xserver Module?

cckuo chechun_kuo at
Tue Nov 28 01:16:16 PST 2006

Below are my ideas and I didn't try them yet.
As far as I know startx is a script file, and you may postpone activating
other modules after awaking the Xserver.
1. build the modules with debug option.
2. activate them in xterm.
Something like that.
I have heard some of my friends make it work while debugging some 3D testing

Hope this will help you

-----Original Message-----
From: xorg-bounces at
[mailto:xorg-bounces at] On Behalf Of 余?
Sent: Tuesday, November 28, 2006 4:37 PM
To: xorg
Subject: how to debug Xserver Module?

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 :

	now my gdb version is,  i wanted the patches for 6.3.
0.0-1.21rh, or maybe
6.0 is also ok;  

	I hope somebody can understand my confuse problem (in my poor

thanks for your help!


little bird

xorg mailing list
xorg at

More information about the xorg mailing list