FpDebug: Support for the 4th argument when calling the function (Win64)

Related to a32ac8e665
This commit is contained in:
Sergey Larin 2021-01-07 12:09:04 +03:00
parent 811f3994dd
commit 5d7d828c63

View File

@ -576,12 +576,17 @@ begin
0: Result := RegisterLoc(0); // EAX
1: Result := RegisterLoc(2); // EDX
2: Result := RegisterLoc(1); // ECX
else
Result := UnInitializedLoc;
end;
dm64: case AParamIdx of
-1: Result := RegisterLoc(0); // RAX
0: Result := RegisterLoc(2); // RCX
1: Result := RegisterLoc(1); // RDX
2: Result := RegisterLoc(8); // R8
3: Result := RegisterLoc(9); // R9
else
Result := UnInitializedLoc;
end;
end;
end;