Debugging Assembly code on Spike

533 views
Skip to first unread message

Mohammed

unread,
Mar 19, 2017, 5:44:07 PM3/19/17
to RISC-V SW Dev
Hello, i am kinda new to RISC-V and i am trying to write Assembly code  to run on it , i have installed the RISC-V toolchain and i have no problem compiling and  running programs on spike, i only face some trouble when i try to run the spike debugging mode , i can't get spike to debug my code , it always produce the same assembly instructions when i type r ,i have an already compiled "hello world" program , as you see if i pressed Enter to run debug the program i had to press it hundred of times before i reach the actual code and when i reach it it just run the code without letting me debug it . so i wanna know if there is anyway i can debug my risc-v code with 

and by the way here is the command i run to use spike 

spike -d pk hello

Tommy Murphy

unread,
Mar 19, 2017, 7:22:22 PM3/19/17
to RISC-V SW Dev

Mohammed Saad

unread,
Mar 20, 2017, 4:17:56 AM3/20/17
to Tommy Murphy, RISC-V SW Dev
yes i did, i have tried that but it didn't work, and the same thing for my friends, but isn't it supposed for spike to work , i wanna know what's the problem with it ?

On Mon, Mar 20, 2017 at 1:22 AM, Tommy Murphy <tommy_...@hotmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/3b663ff3-50f1-496a-886c-553fec9a0e05%40groups.riscv.org.

Reply all
Reply to author
Forward
0 new messages