mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
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:
parent
faecd6bbef
commit
a72737b228
4 changed files with 18 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue