Debugging (GDB) notes - betrusted-io/betrusted-wiki GitHub Wiki

THIS PAGE IS DEPRECATED

Please refer to GDB on Xous.

If you landed here, please edit the referring link to remove it (is there a way to find all instances that refer to page and migrate them in github wikis?)

Figuring out what code is at what address

riscv64-unknown-elf-gdb target/riscv32imac-unknown-none-elf/release/<servername>

then inside GDB (run locally) do

list *0x1a6e2

Replace the hex number with the instruction offset.

⚠️ **GitHub.com Fallback** ⚠️