Troubleshooting: Difference between revisions

Added section on using addr2line
[unchecked revision][unchecked revision]
m (Added the point that when running applications no excep handlr can be disaterous)
(Added section on using addr2line)
Line 129:
 
Of course, as I picked up a random address, there's nothing wrong to see at +21f, but I guess you got my point. :)
 
==== Locating the offending line of source code ====
Once you have found the address of the faulty instruction in the previous step, you can identify the corresponding line of source code by running
 
<pre>
addr2line -e <your_kernel.elf> <address of faulty instruction>
</pre>
 
=== Enhanced debugging techniques ===
2

edits