hwacha icon indicating copy to clipboard operation
hwacha copied to clipboard

Does Hwacha support GDB?

Open kangrl666 opened this issue 5 years ago • 1 comments

1.Does Hwacha support GDB for debugging?

2.Use“spike -H --rbb-port=9824 --extension=hwacha vec-vvadd.riscv”,this program doesn‘t start halted,not allowing a debugger to connect。why?how to solve the problem for debugging Hwacha instructions?

kangrl666 avatar May 25 '20 01:05 kangrl666

You can use GDB to debug programs that include Hwacha instructions but you won't be able to set breakpoints in the middle of vector fetch blocks or read out Hwacha's register state. I haven't tried using it with spike but it shouldn't be any different with respect to how the program starts.

colinschmidt avatar May 27 '20 15:05 colinschmidt