Debugger: Add reason to cpu.stepping event.

This commit is contained in:
Unknown W. Brackets committed 2021-10-23 22:08:15 -07:00
1 parent 2bd13c5d9d
commit fc2efe5dff
3 files changed
+21 -1

No files matched your search

+7
View File
@@ -392,6 +392,13 @@ int Core_GetSteppingCounter() {
return steppingCounter;
}
SteppingReason Core_GetSteppingReason() {
SteppingReason r;
r.reason = steppingReason;
r.relatedAddress = steppingAddress;
return r;
}
const char *ExceptionTypeAsString(ExceptionType type) {
switch (type) {
case ExceptionType::MEMORY: return "Invalid Memory Access";