Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Hwacha support GDB? #20

Open
kangrl666 opened this issue May 25, 2020 · 1 comment
Open

Does Hwacha support GDB? #20

kangrl666 opened this issue May 25, 2020 · 1 comment

Comments

@kangrl666
Copy link

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?

@colinschmidt
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants