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