1 1.1 mrg REMOTE DEBUGGING CLI APPLICATIONS 2 1.1 mrg 3 1.1 mrg 4 1.1 mrg = About = 5 1.1 mrg 6 1.1 mrg This directory contains a Gallium3D remote debugging cli applications. 7 1.1 mrg 8 1.1 mrg 9 1.1 mrg = Build Instructions = 10 1.1 mrg 11 1.1 mrg To build, build a normal gallium build and from this directory do the following. 12 1.1 mrg 13 1.1 mrg make 14 1.1 mrg 15 1.1 mrg = Usage = 16 1.1 mrg 17 1.1 mrg Make sure that you driver has trace integration, see 18 1.1 mrg src/gallium/driver/rbug/README for more information about that. Then from on 19 1.1 mrg the computer that you want to debug do: 20 1.1 mrg 21 1.1 mrg export GALLIUM_RBUG=true 22 1.1 mrg 23 1.1 mrg <launch app> 24 1.1 mrg 25 1.1 mrg From the debugging computer launch apps form this directory. Currently ip 26 1.1 mrg addresses are hardcoded and you need to edit the application, but that will 27 1.1 mrg change in the future. For a more advanced gui application see: 28 1.1 mrg 29 1.1 mrg http://cgit.freedesktop.org/mesa/rbug-gui 30 1.1 mrg 31 1.1 mrg 32 1.1 mrg = Testing = 33 1.1 mrg 34 1.1 mrg The two apps simple_client and simple_server. Are unit testing of the 35 1.1 mrg connection and (de)marsheler. Just run the server first and then the client: 36 1.1 mrg 37 1.1 mrg ./simple_server & 38 1.1 mrg ./simple_client 39 1.1 mrg 40 1.1 mrg 41 1.1 mrg -- 42 1.1 mrg Jakob Bornecrantz <jakob (a] vmware.com> 43