summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-14 11:32:59 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-09-14 11:32:59 +0400
commite45a4e7730e9537f4d95977a3a8b986a8ea67f43 (patch)
tree45ca920f6f491c9f1b7b572e4305de5a30e90591 /tools
parentb63547583b98a3402f67e69d87ac77eb64b7c07e (diff)
downloadbdwgc-e45a4e7730e9537f4d95977a3a8b986a8ea67f43.tar.gz
Move and rename "callprocs" utility to tools/callprocs.sh.
* callprocs: Move/rename to tools/callprocs.sh. * Makefile.am (dist_noinst_SCRIPTS): Remove. * Makefile.am (EXTRA_DIST): Add tools/callprocs.sh (move from dist_noinst_SCRIPTS). * Makefile.direct (OTHER_FILES): Rename callprocs to tools/callprocs.sh. * Makefile.dj (OTHER_FILES): Likewise. * README: Likewise. * doc/leak.html: Likewise. * README: Fix a typo.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/callprocs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/callprocs.sh b/tools/callprocs.sh
new file mode 100755
index 00000000..a8793f0b
--- /dev/null
+++ b/tools/callprocs.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+GC_DEBUG=1
+export GC_DEBUG
+$* 2>&1 | awk '{print "0x3e=c\""$0"\""};/^\t##PC##=/ {if ($2 != 0) {print $2"?i"}}' | adb $1 | sed "s/^ >/>/"