projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93911de
)
Document out to trace applications inside gdb.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 18 Jan 2012 16:15:30 +0000
(16:15 +0000)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 18 Jan 2012 16:15:30 +0000
(16:15 +0000)
When developing.
README.markdown
patch
|
blob
|
history
diff --git
a/README.markdown
b/README.markdown
index
7ca0df7
..
0a1bceb
100644
(file)
--- a/
README.markdown
+++ b/
README.markdown
@@
-96,6
+96,10
@@
to trace by using `glxtrace.so` as an ordinary `libGL.so` and injecting into
See the `ld.so` man page for more information about `LD_PRELOAD` and
`LD_LIBRARY_PATH` environment flags.
+To trace the application inside gdb, invoke gdb as:
+
+ gdb --ex 'set exec-wrapper env LD_PRELOAD=/path/to/glxtrace.so' --args /path/to/application
+
### Mac OS X ###
Run the application you want to trace as