This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2414,7 +2414,7 @@ typedef DPTR(RUNTIME_FUNCTION) PTR_RUNTIME_FUNCTION;
2414
2414
// ----------------------------------------------------------------------------
2415
2415
//
2416
2416
// A PCODE is a valid PC/IP value -- a pointer to an instruction, possibly including some processor mode bits.
2417
- // (On ARM, for example, a PCODE value should should have the low-order THUMB_CODE bit set if the code should
2417
+ // (On ARM, for example, a PCODE value should have the low-order THUMB_CODE bit set if the code should
2418
2418
// be executed in that mode.)
2419
2419
//
2420
2420
typedef TADDR PCODE;
Original file line number Diff line number Diff line change @@ -4166,7 +4166,7 @@ PCODE ExecutionManager::GetCodeStartAddress(PCODE currentPC)
4166
4166
EECodeInfo codeInfo (currentPC);
4167
4167
if (!codeInfo.IsValid ())
4168
4168
return NULL ;
4169
- return (PCODE) codeInfo.GetStartAddress ();
4169
+ return PINSTRToPCODE ( codeInfo.GetStartAddress () );
4170
4170
}
4171
4171
4172
4172
// **************************************************************************
You can’t perform that action at this time.
0 commit comments