Dwarfviewer: update dwarf loading (recent refactor)

git-svn-id: trunk@58401 -
This commit is contained in:
martin 2018-06-25 13:48:58 +00:00
parent 00112a0fe0
commit ef0ef04087

View File

@ -200,7 +200,8 @@ begin
UnLoadDwarf;
ImageLoader := TDbgImageLoader.Create(FFileName);
FImageLoaderList := TDbgImageLoaderList.Create(True);
FImageLoaderList.Add(ImageLoader);
ImageLoader.AddToLoaderList(FImageLoaderList);
FDwarfInfo := TFpDwarfInfo.Create(FImageLoaderList);
FCUCount := FDwarfInfo.LoadCompilationUnits;
end;