how to debug Xserver Module?

余涛 tyu_zju at 163.com
Fri Dec 1 03:50:35 PST 2006


Hi everyone:
	
	Thanks, i can debug modules in Xorg 6.9


>> 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