Bochs: Difference between revisions

Added the Debugging Triple Faults "mini-chapter".
[unchecked revision][unchecked revision]
(Added the Debugging Triple Faults "mini-chapter".)
Line 127:
Bochs places an automatic breakpoint just before the BIOS loads, this can be automatically skipped by putting <tt>continue</tt> as the first command in the said file.
 
===Debugging Triple Faults===
 
When using the internal debugger, you may change this line in your Bochs configuration file:
 
reset_on_triple_fault 0
 
This line disables the emulator reset on a Triple fault, enabling you to debug the code after a Triple fault occured (Very useful while implementing paging).
==Compiling Bochs from Source==
Bochs has many compile-time configuration options, some of which conflict, and therefore a binary distribution of Bochs may not be suitable for your purposes. I found it was best to compile my own copy of Bochs to be sure I had the features that I needed. Also, you should consider using the CVS snapshot version of Bochs if the released version is old and not working for you. I found this was necessary up until version 2.4 was released, for example. On Ubuntu, you may have to run
Anonymous user