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

automate passing set arch riscv:rv32 to gdb? #101

Closed
ilg-ul opened this issue Aug 16, 2017 · 5 comments
Closed

automate passing set arch riscv:rv32 to gdb? #101

ilg-ul opened this issue Aug 16, 2017 · 5 comments

Comments

@ilg-ul
Copy link
Contributor

ilg-ul commented Aug 16, 2017

I noticed that when starting GDB for a RISC-V debug session I have to pass a command like:

set arch riscv:rv32

similarly, when starting debug sessions with ARM devices, setting the architecture is not necessary.

it looks like OpenOCD is able to automatically inform GDB what the architecture is, but this feature is not used for RISC-V devices.

is there anything to do to automate passing the architecture for RISC-V devices too?

@timsifive
Copy link
Collaborator

This is the same issue as riscvarchive/riscv-binutils-gdb#54 (which is not being worked on :-( ).

@ilg-ul
Copy link
Contributor Author

ilg-ul commented Aug 24, 2017

ok, at least we know the cause.

@timsifive
Copy link
Collaborator

riscvarchive/riscv-binutils-gdb#54 was fixed.

@ilg-ul
Copy link
Contributor Author

ilg-ul commented Dec 27, 2017

Thank you, Tim.

When do you think you'll have a new official release of GDB and OpenOCD, with all these goodies?

@timsifive
Copy link
Collaborator

timsifive commented Dec 27, 2017 via email

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