Revision: 12886
Author: [email protected]
Date: Wed Nov 7 05:16:18 2012
Log: Edited wiki page ARMDebuggingWithTheSimulator through web user
interface.
http://code.google.com/p/v8/source/detail?r=12886
Modified:
/wiki/ARMDebuggingWithTheSimulator.wiki
=======================================
--- /wiki/ARMDebuggingWithTheSimulator.wiki Fri Oct 29 00:45:48 2010
+++ /wiki/ARMDebuggingWithTheSimulator.wiki Wed Nov 7 05:16:18 2012
@@ -12,18 +12,21 @@
== Details on the ARM Debugger ==
Compile the ARM simulator shell with:
-scons sample=shell simulator=arm mode=debug
+{{{
+make arm.debug
+}}}
+on an x86 host using your regular compiler.
=== Starting the Debugger ===
There are different ways of starting the debugger:
{{{
-./shell_g --stop_sim_at <n>
+$ out/arm.debug/d8 --stop_sim_at <n>
}}}
The simulator will start the debugger after executing n instructions.
{{{
-./shell_g --stop_at <function name>
+$ out/arm.debug/d8 --stop_at <function name>
}}}
The simulator will stop at the given JavaScript function.
@@ -59,7 +62,7 @@
* *printobject* `<`register`>` (alias po), will describe an object held
in a register.
{{{
-$ ./shell_g func.js --stop_at test
+$ out/arm.debug/d8 func.js --stop_at test
Simulator hit stop-at
0xb544d6a8 e92d4902 stmdb sp!, {r1, r8, fp, lr}
@@ -87,7 +90,7 @@
You can have only one such breakpoint. This is useful if you want to
insert a breakpoint at runtime.
{{{
-$ ./shell_g func.js --stop_at test
+$ out/arm.debug/d8 func.js --stop_at test
Simulator hit stop-at
0xb53a1ee8 e92d4902 stmdb sp!, {r1, r8, fp, lr}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev