aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/boehm-gc/callprocs
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-02-04 18:51:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-02-04 18:51:25 +0000
commitedbbe53c4ffa154a5f9ae3f89ba8105993d8800e (patch)
tree4cedb380a14027d9c4d1e531c2340c43cbd79175 /gcc-4.8.1/boehm-gc/callprocs
parenta4ca82cac69c3147143d7b4b4d7cdeb5e02f20ef (diff)
parent3186be22b6598fbd467b126347d1c7f48ccb7f71 (diff)
downloadtoolchain_gcc-edbbe53c4ffa154a5f9ae3f89ba8105993d8800e.tar.gz
toolchain_gcc-edbbe53c4ffa154a5f9ae3f89ba8105993d8800e.tar.bz2
toolchain_gcc-edbbe53c4ffa154a5f9ae3f89ba8105993d8800e.zip
Merge "Check in a pristine copy of GCC 4.8.1."
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/^ >/>/"