how to debug Xserver Module?

cckuo chechun_kuo at sis.com
Tue Nov 28 01:16:16 PST 2006


Hi:
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
program.

Hope this will help you
Pierre

-----Original Message-----
From: xorg-bounces at lists.freedesktop.org
[mailto:xorg-bounces at lists.freedesktop.org] 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 :
		www.dawa.demon.co.uk/xfree-gdb

	now my gdb version is 6.3.0.0-1.21rh,  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
english).

thanks for your help!


__________

little bird


_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list