Kernel Debugging: Difference between revisions

m
Change xor to xchg
[unchecked revision][unchecked revision]
m (added instructions for single stepping in qemu, bochs and VBox)
m (Change xor to xchg)
Line 141:
=== Use bochs debugger ===
 
The easiest way to trigger a breakpoint in bochs is to place "xorxchg bx, bx" into your code. For example
<source lang="C">
asm volatile ("xchg %bx, %bx");
Anonymous user