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

@ -40,6 +40,8 @@ uint32_t metered_run(uint32_t num_instr) {
case UVM32_EVT_END:
TEST_ASSERT_EQUAL(0, 1); // trigger an assert, we didn't get to 100000 yet
break;
case UVM32_EVT_BREAK:
break;
}
}