FpDebugger (pure): Pass the right mode to the dissasembler when cross-debugging

git-svn-id: trunk@45849 -
This commit is contained in:
joost 2014-07-12 21:36:50 +00:00
parent 8397b21039
commit c021527f22

View File

@ -624,7 +624,7 @@ begin
else
begin
p := @CodeBin;
FpDbgDisasX86.Disassemble(p, GMode=dm64, ADump, AStatement);
FpDbgDisasX86.Disassemble(p, TFpDebugDebugger(Debugger).FDbgController.CurrentProcess.Mode=dm64, ADump, AStatement);
Sym := TFpDebugDebugger(Debugger).FDbgController.CurrentProcess.FindSymbol(AnAddr);