fp-gdbmi-debug: adapt for latest changes

git-svn-id: trunk@42928 -
This commit is contained in:
martin 2013-09-25 00:19:11 +00:00
parent c752b4bf78
commit fa8ee6902f

View File

@ -14,7 +14,7 @@ type
TFpGDBMIDebugger = class(TGDBMIDebugger)
private
FImageLoader: TDbgWinPEImageLoader;
FImageLoader: TDbgImageLoader;
FDwarfInfo: TDbgDwarf;
protected
function CreateCommandStartDebugging(AContinueCommand: TGDBMIDebuggerCommand): TGDBMIDebuggerCommandStartDebugging; override;
@ -166,7 +166,7 @@ procedure TFpGDBMIDebugger.LoadDwarf;
begin
UnLoadDwarf;
debugln(['TFpGDBMIDebugger.LoadDwarf ']);
FImageLoader := TDbgWinPEImageLoader.Create(FileName);
FImageLoader := TDbgImageLoader.Create(FileName);
FDwarfInfo := TDbgDwarf.Create(FImageLoader);
FDwarfInfo.LoadCompilationUnits;
end;