diff options
Diffstat (limited to 'html/subx/039debug.cc.html')
-rw-r--r-- | html/subx/039debug.cc.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/html/subx/039debug.cc.html b/html/subx/039debug.cc.html index 5a8a9880..8983218e 100644 --- a/html/subx/039debug.cc.html +++ b/html/subx/039debug.cc.html @@ -21,6 +21,7 @@ a { color:inherit; } .Identifier { color: #af5f00; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } .Comment { color: #005faf; } +.SalientComment { color: #0000af; } --> </style> @@ -56,10 +57,10 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/subx/039debug.cc'>https://github.com/akkartik/mu/blob/master/subx/039debug.cc</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="Comment">//: Some helpers for debugging.</span> +<span id="L1" class="LineNr"> 1 </span><span class="SalientComment">//:: Some helpers for debugging.</span> <span id="L2" class="LineNr"> 2 </span> -<span id="L3" class="LineNr"> 3 </span><span class="Comment">// Load the 'map' file generated during 'subx --map translate' when running 'subx --map --dump run'.</span> -<span id="L4" class="LineNr"> 4 </span><span class="Comment">// (It'll only affect the trace.)</span> +<span id="L3" class="LineNr"> 3 </span><span class="Comment">//: Load the 'map' file generated during 'subx --map translate' when running 'subx --map --dump run'.</span> +<span id="L4" class="LineNr"> 4 </span><span class="Comment">//: (It'll only affect the trace.)</span> <span id="L5" class="LineNr"> 5 </span> <span id="L6" class="LineNr"> 6 </span><span class="Delimiter">:(before "End Globals")</span> <span id="L7" class="LineNr"> 7 </span>map<<span class="Comment">/*</span><span class="Comment">address</span><span class="Comment">*/</span><span class="Normal">uint32_t</span><span class="Delimiter">,</span> string> <span class="Special"><a href='039debug.cc.html#L7'>Symbol_name</a></span><span class="Delimiter">;</span> <span class="Comment">// used only by 'subx run'</span> @@ -82,9 +83,9 @@ if ('onhashchange' in window) { <span id="L24" class="LineNr">24 </span><span class="Normal">if</span> <span class="Delimiter">(</span><a href='001help.cc.html#L256'>contains_key</a><span class="Delimiter">(</span><span class="Special"><a href='039debug.cc.html#L7'>Symbol_name</a></span><span class="Delimiter">,</span> <a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">))</span> <span id="L25" class="LineNr">25 </span> <a href='003trace.cc.html#L183'>trace</a><span class="Delimiter">(</span><span class="Constant">90</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"== label "</span> << get<span class="Delimiter">(</span><span class="Special"><a href='039debug.cc.html#L7'>Symbol_name</a></span><span class="Delimiter">,</span> <a href='010---vm.cc.html#L29'>EIP</a><span class="Delimiter">)</span> << end<span class="Delimiter">();</span> <span id="L26" class="LineNr">26 </span> -<span id="L27" class="LineNr">27 </span><span class="Comment">// If a label starts with '$watch-', make a note of the effective address</span> -<span id="L28" class="LineNr">28 </span><span class="Comment">// computed by the next instruction. Start dumping out its contents to the</span> -<span id="L29" class="LineNr">29 </span><span class="Comment">// trace after every subsequent instruction.</span> +<span id="L27" class="LineNr">27 </span><span class="Comment">//: If a label starts with '$watch-', make a note of the effective address</span> +<span id="L28" class="LineNr">28 </span><span class="Comment">//: computed by the next instruction. Start dumping out its contents to the</span> +<span id="L29" class="LineNr">29 </span><span class="Comment">//: trace after every subsequent instruction.</span> <span id="L30" class="LineNr">30 </span> <span id="L31" class="LineNr">31 </span><span class="Delimiter">:(after "Run One Instruction")</span> <span id="L32" class="LineNr">32 </span><a href='039debug.cc.html#L38'>dump_watch_points</a><span class="Delimiter">();</span> |