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