|
@ -25,5 +25,5 @@ Then load the created ELF file into the simulation via GDB: |
|
|
``` |
|
|
``` |
|
|
riscv64-unknown-elf-gdb -tui -ex 'set remotetimeout 15' -ex 'target remote :3333' -ex 'load' -ex 'break main' -ex 'continue' main |
|
|
riscv64-unknown-elf-gdb -tui -ex 'set remotetimeout 15' -ex 'target remote :3333' -ex 'load' -ex 'break main' -ex 'continue' main |
|
|
``` |
|
|
``` |
|
|
Set some more breakpoints and step through the code with 'c' (continue). You will see the UART output in console 1 (vexriscv sim). |
|
|
|
|
|
|
|
|
Set some more breakpoints `b <line>` and step through the code with `c` (continue). You will see the UART output in console 1 (vexriscv sim). |
|
|
|
|
|
|