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