docs: Update springbok GDB instructions Change-Id: I756a8f3f5f909214cc7b78b769815929078025de
diff --git a/CreateSpringbokVectorUnitTest.md b/CreateSpringbokVectorUnitTest.md index 859efce..3b3f4da 100644 --- a/CreateSpringbokVectorUnitTest.md +++ b/CreateSpringbokVectorUnitTest.md
@@ -193,10 +193,10 @@ ```sh sim_springbok ./out/springbok/tests/vadd_test.elf debug ``` -Alternatively, start Qemu Simulation: +Alternatively, start Qemu simulation: ```sh -qemu_sim_springbok ./out/springbok/tests/vadd_test.elf debug +qemu_sim_springbok ./out/springbok/tests/vadd_test.elf -s -S ``` Now, in the other console session run the following command to start a gdb session: @@ -205,6 +205,12 @@ cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :3333" out/springbok/tests/vadd_test.elf ``` +Note: To run GDB with the Qemu simulation, use + +```sh +cache/toolchain/bin/riscv32-unknown-elf-gdb -ex "target remote :1234" out/springbok/tests/vadd_test.elf +``` + First, in the Renode session, type `start`. Then, in the gdb session, type the following,