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/rbug/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. For a more advanced gui application see:
28
29 http://cgit.freedesktop.org/mesa/rbug-gui
30
31
32 = Testing =
33
34 The two apps simple_client and simple_server. Are unit testing of the
35 connection and (de)marsheler. Just run the server first and then the client:
36
37 ./simple_server &
38 ./simple_client
39
40
41 --
42 Jakob Bornecrantz <jakob (a] vmware.com>
43