projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b4857
)
Fixup environment passing via gdb to the library.
author
Milian Wolff
<mail@milianw.de>
Wed, 21 May 2014 19:41:29 +0000
(21:41 +0200)
committer
Milian Wolff
<mail@milianw.de>
Wed, 21 May 2014 19:41:29 +0000
(21:41 +0200)
trace.sh
patch
|
blob
|
history
diff --git
a/trace.sh
b/trace.sh
index
87fc2ea
..
795790a
100755
(executable)
--- a/
trace.sh
+++ b/
trace.sh
@@
-21,7
+21,7
@@
if [ -z "$debug" ]; then
LD_PRELOAD=./libmalloctrace.so DUMP_MALLOC_TRACE_OUTPUT="$output" $@ &
else
gdb --eval-command="set environment LD_PRELOAD=./libmalloctrace.so" \
- --eval-command="set environment DUMP_MALLOC_TRACE_OUTPUT=
\"$output\"
" \
+ --eval-command="set environment DUMP_MALLOC_TRACE_OUTPUT=
$output
" \
--eval-command="run" --args $@
fi