summaryrefslogtreecommitdiff
path: root/progs/rbug/README
blob: 0eb0a5de9a500bc0ef2a23447091f9f896ec4b0f (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
                        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/trace/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.

= 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>