xcode: capture file:line of fault()

This commit is contained in:
Michael Davidsaver
2021-01-12 11:09:07 -08:00
parent 0356eee740
commit 76764cf978
12 changed files with 65 additions and 57 deletions
+2 -2
View File
@@ -334,7 +334,7 @@ void Connection::handle_GPR(pva_app_msg_t cmd)
if(uint8_t(op->op)!=cmd) {
// peer mixes up IOID and operation type
M.fault();
M.fault(__FILE__, __LINE__);
} else {
gpr = static_cast<GPROp*>(op.get());
@@ -347,7 +347,7 @@ void Connection::handle_GPR(pva_app_msg_t cmd)
} else if((gpr->state==GPROp::Exec) && !init && !get) {
} else {
M.fault();
M.fault(__FILE__, __LINE__);
}
}
}