mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:40:24 +02:00
FpDebug (pure): Changes for cross-debugging
git-svn-id: trunk@45315 -
This commit is contained in:
parent
22d2d30164
commit
51c0c59b2b
@ -787,7 +787,7 @@ var
|
||||
dw: DWord;
|
||||
qw: QWord;
|
||||
begin
|
||||
case GMode of
|
||||
case Mode of
|
||||
dm32:
|
||||
begin
|
||||
result := ReadData(AAdress, sizeof(dw), dw);
|
||||
@ -1160,7 +1160,7 @@ begin
|
||||
if FProcess.ReadData(FProcess.GetInstructionPointerRegisterValue,sizeof(CodeBin),CodeBin) then
|
||||
begin
|
||||
p := @CodeBin;
|
||||
Disassemble(p, GMode=dm64, ADump, AStatement);
|
||||
Disassemble(p, FProcess.Mode=dm64, ADump, AStatement);
|
||||
if copy(AStatement,1,4)='call' then
|
||||
CallInstr:=true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user