Add uvm32_useBreak(uvmst, bool) function to enable ebreak handling.

This is used in host-gdbstub to enable the functionality.

This allows the stackoverflow test to continue working. Meter test modified to handle new evt type.
This commit is contained in:
Toby Jaffey 2026-04-16 10:51:08 +01:00
parent faecd6bbef
commit a72737b228
4 changed files with 18 additions and 7 deletions

View file

@ -58,6 +58,7 @@ int main(int argc, char *argv[]) {
}
uvm32_init(&vmst);
uvm32_useBreak(&vmst, true); // enable ebreak
if (!uvm32_load(&vmst, rom, romlen)) {
fprintf(stderr, "load failed!\n");