Index: tools/precompilation/test_linux_simarm.sh |
diff --git a/tools/precompilation/test_linux_simarm.sh b/tools/precompilation/test_linux_simarm.sh |
index b55a5e96af33d45d3a7a408ca1a9aaba22e84eb3..5f477f6db0a11645034c20e166c6d7f5e63953af 100755 |
--- a/tools/precompilation/test_linux_simarm.sh |
+++ b/tools/precompilation/test_linux_simarm.sh |
@@ -2,12 +2,12 @@ |
# Usage: |
# cd sdk |
-# ./tools/precompilation/test_linux.sh |
+# ./tools/precompilation/test_linux.sh <dart-script-file> |
./tools/build.py -mdebug -asimarm runtime |
-./out/DebugSIMARM/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart |
+./out/DebugSIMARM/dart_no_snapshot --gen-precompiled-snapshot "$1" |
gcc -m32 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled.S |
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugSIMARM/dart --run-precompiled-snapshot not_used.dart |
+LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugSIMARM/dart --run-precompiled-snapshot --observe not_used.dart |