mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 03:01:36 +01:00
This commit is contained in:
@@ -21035,7 +21035,13 @@ Exiting @ tick 18446744073709551615 because simulate() limit reached</pre>
|
||||
<div class="sect3">
|
||||
<h4 id="gem5-debug-build"><a class="anchor" href="#gem5-debug-build"></a><a class="link" href="#gem5-debug-build">19.15.1. gem5 debug build</a></h4>
|
||||
<div class="paragraph">
|
||||
<p>Explained at: <a href="#debug-the-emulator">Section 18.7, “Debug the emulator”</a>.</p>
|
||||
<p>How to use it in LKMC: <a href="#debug-the-emulator">Section 18.7, “Debug the emulator”</a>.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If you build gem5 with <code>scons build/ARM/gem5.debug</code>, then that is a <code>.debug</code> build.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>It relates to the more common <code>.opt</code> build just as explained at <a href="#debug-the-emulator">Section 18.7, “Debug the emulator”</a>: both <code>.opt</code> and <code>.debug</code> have <code>-g</code>, but <code>.opt</code> uses <code>-O2</code> while <code>.debug</code> uses <code>-O0</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
|
||||
Reference in New Issue
Block a user