Skip to content

Comments

GDB: enable extensions for RISC-V#52

Open
mkobetic wants to merge 1 commit intomainfrom
gdb-rv
Open

GDB: enable extensions for RISC-V#52
mkobetic wants to merge 1 commit intomainfrom
gdb-rv

Conversation

@mkobetic
Copy link
Owner

@mkobetic mkobetic commented Feb 23, 2026

This PR moves bulk of the GDB extensions into core/dev to maximize shared code, and then arm/dev and rv/dev have architecture specific bits.

  • amforth.gdb is now split between arch/dev/amforth.gdb and core/dev/amforth-core.gdb that is imported by the former
  • gdb_arch.py is now the architecture specific python bits, mostly about the differences between the register sets.

Note that the Python API requires a reasonably recent version of GDB (apparently Arduino WCH toolchain has some fairly old GDB that won't work with these extensions).

Otherwise everything should be working for RISC-V including backtrace unwinding.

Screenshot 2026-02-23 at 15 42 07

@mkobetic mkobetic changed the title GDB: enable extensions for RV GDB: enable extensions for RISC-V Feb 23, 2026
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

Successfully merging this pull request may close these issues.

1 participant