mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
FpDebug: support more function-arguments (x86_64)
git-svn-id: trunk@64295 -
This commit is contained in:
parent
cfa42adfc3
commit
a32ac8e665
@ -1026,11 +1026,18 @@ begin
|
||||
0: Result := RegisterLoc(0); // EAX
|
||||
1: Result := RegisterLoc(2); // EDX
|
||||
2: Result := RegisterLoc(1); // ECX
|
||||
else
|
||||
Result := UnInitializedLoc;
|
||||
end;
|
||||
dm64: case AParamIdx of
|
||||
0: Result := RegisterLoc(5); // RDI
|
||||
1: Result := RegisterLoc(4); // RSI
|
||||
2: Result := RegisterLoc(1); // RDX
|
||||
3: Result := RegisterLoc(2); // RCX
|
||||
4: Result := RegisterLoc(8); // R8
|
||||
5: Result := RegisterLoc(9); // R9
|
||||
else
|
||||
Result := UnInitializedLoc;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user