aboutsummaryrefslogtreecommitdiffstats
path: root/gc/callprocs
diff options
context:
space:
mode:
Diffstat (limited to 'gc/callprocs')
-rwxr-xr-xgc/callprocs4
1 files changed, 4 insertions, 0 deletions
diff --git a/gc/callprocs b/gc/callprocs
new file mode 100755
index 0000000..a8793f0
--- /dev/null
+++ b/gc/callprocs
@@ -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/^ >/>/"