3 ms·
QEMU supports gdb out of the box. Unfortunately gdb has some problems with the transition to 64 bit, but fixing it is relatively easy (you need to build gdb fro
by phil-opp 11y ago
QEMU supports gdb out of the box. Unfortunately gdb has some problems with the transition to 64 bit, but fixing it is relatively easy (you need to build gdb from source though).
I just wrote a guide that should make it straightforward: http://os.phil-opp.com/set-up-gdb.html http://os.phil-opp.com/set-up-gdb.html
- phil-opp 11y agoIt's a bit more complicated for real hardware. I think it could be done by using the serial port and hardware breakpoint registers.