projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42d4bc5
)
HACKING.asciidoc: mention how to use valgrind
author
Antonio Ospite <ospite@studenti.unina.it>
Wed, 29 Feb 2012 22:54:22 +0000
(23:54 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Wed, 29 Feb 2012 22:54:22 +0000
(23:54 +0100)
HACKING.asciidoc
patch
|
blob
|
history
diff --git
a/HACKING.asciidoc
b/HACKING.asciidoc
index
5b2937d
..
cd9486d
100644
(file)
--- a/
HACKING.asciidoc
+++ b/
HACKING.asciidoc
@@
-22,3
+22,10
@@
can run:
$ cmake ../ -DCMAKE_C_COMPILER=cgcc
$ make
$ cmake ../ -DCMAKE_C_COMPILER=cgcc
$ make
+=== Valgrind
+
+You can run the test program under the http://valgrind.org/[valgrind]
+dynamic analyzer by using a command like:
+
+ $ valgrind --leak-check=full --show-reachable=yes --track-origins=yes \
+ ./bin/picoproj -W 800 -H 480 -f my_image.jpg