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