132001f49Smrg REMOTE DEBUGGING CLI APPLICATIONS 232001f49Smrg 332001f49Smrg 432001f49Smrg= About = 532001f49Smrg 632001f49SmrgThis directory contains a Gallium3D remote debugging cli applications. 732001f49Smrg 832001f49Smrg 932001f49Smrg= Build Instructions = 1032001f49Smrg 1132001f49SmrgTo build, build a normal gallium build and from this directory do the following. 1232001f49Smrg 1332001f49Smrg make 1432001f49Smrg 1532001f49Smrg= Usage = 1632001f49Smrg 1732001f49SmrgMake sure that you driver has trace integration, see 1832001f49Smrgsrc/gallium/driver/rbug/README for more information about that. Then from on 1932001f49Smrgthe computer that you want to debug do: 2032001f49Smrg 2132001f49Smrg export GALLIUM_RBUG=true 2232001f49Smrg 2332001f49Smrg <launch app> 2432001f49Smrg 2532001f49SmrgFrom the debugging computer launch apps form this directory. Currently ip 2632001f49Smrgaddresses are hardcoded and you need to edit the application, but that will 2732001f49Smrgchange in the future. For a more advanced gui application see: 2832001f49Smrg 2932001f49Smrg http://cgit.freedesktop.org/mesa/rbug-gui 3032001f49Smrg 3132001f49Smrg 3232001f49Smrg= Testing = 3332001f49Smrg 3432001f49SmrgThe two apps simple_client and simple_server. Are unit testing of the 3532001f49Smrgconnection and (de)marsheler. Just run the server first and then the client: 3632001f49Smrg 3732001f49Smrg ./simple_server & 3832001f49Smrg ./simple_client 3932001f49Smrg 4032001f49Smrg 4132001f49Smrg-- 4232001f49SmrgJakob Bornecrantz <jakob@vmware.com> 43