summaryrefslogtreecommitdiffstats
path: root/progs/rbug/README
blob: ee6ae4247fb58e73a0a69db2103dea82fc95337a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
                        REMOTE DEBUGGING CLI APPLICATIONS


= About =

This directory contains a Gallium3D remote debugging cli applications.


= Build Instructions =

To build, build a normal gallium build and from this directory do the following.

 make

= Usage =

Make sure that you driver has trace integration, see
src/gallium/driver/rbug/README for more information about that. Then from on
the computer that you want to debug do:

 export GALLIUM_RBUG=true

 <launch app>

From the debugging computer launch apps form this directory. Currently ip
addresses are hardcoded and you need to edit the application, but that will
change in the future. For a more advanced gui application see:

   http://cgit.freedesktop.org/mesa/rbug-gui


= Testing =

The two apps simple_client and simple_server. Are unit testing of the
connection and (de)marsheler. Just run the server first and then the client:

 ./simple_server &
 ./simple_client


--
Jakob Bornecrantz <jakob@vmware.com>