diff options
-rw-r--r-- | docs/Debugging.md | 12 | ||||
-rw-r--r-- | docs/Download.md | 6 | ||||
-rw-r--r-- | docs/Linking_overview.md | 6 |
3 files changed, 16 insertions, 8 deletions
diff --git a/docs/Debugging.md b/docs/Debugging.md index 03567de..4aaf472 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -55,8 +55,10 @@ rate. 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: @@ -90,8 +92,10 @@ on using gdb and QEMU in this mode. 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. diff --git a/docs/Download.md b/docs/Download.md index a49c6fb..9b1492a 100644 --- a/docs/Download.md +++ b/docs/Download.md @@ -9,8 +9,10 @@ The SeaBIOS project uses the [git](http://git-scm.com/) revision 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. diff --git a/docs/Linking_overview.md b/docs/Linking_overview.md index fb938b6..965e926 100644 --- a/docs/Linking_overview.md +++ b/docs/Linking_overview.md @@ -95,8 +95,10 @@ a corresponding symbol definitions in the linker script that points to 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 |