The tool can also timestamp the messages from the QEMU debug port. To
use with QEMU run the following:
-`mkfifo qemudebugpipe`\
-`qemu -chardev pipe,path=qemudebugpipe,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios ...`
+```
+mkfifo qemudebugpipe
+qemu -chardev pipe,path=qemudebugpipe,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios ...
+```
and then in another session:
When debugging 16bit code, also run the following commands in gdb:
-`set architecture i8086`\
-`add-symbol-file out/rom16.o 0xf0000`
+```
+set architecture i8086
+add-symbol-file out/rom16.o 0xf0000
+```
The second command loads the 16bit symbols a second time at an offset
of 0xf0000, which helps gdb set and catch breakpoints correctly.
control system. To download the latest source from revision control,
run:
-`$ git clone git://git.seabios.org/seabios.git seabios`\
-`$ cd seabios`
+```
+$ git clone git://git.seabios.org/seabios.git seabios
+$ cd seabios
+```
There's also a [website](http://git.seabios.org/) to browse the latest
source code online.
the C code of the specified mode. This is typically seen with code
like:
-`extern void _cfunc32flat_process_op(void);`\
-`return call32(_cfunc32flat_process_op, 0, 0);`
+```
+extern void _cfunc32flat_process_op(void);
+return call32(_cfunc32flat_process_op, 0, 0);
+```
In the above example, when the build finds the symbol
"\_cfunc32flat_process_op" it will emit that symbol with the physical