mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 11:35:57 +02:00
FpDebug, fpdumpdwarf: partial fix compilation
git-svn-id: trunk@61721 -
This commit is contained in:
parent
c25bbdfbc0
commit
a8233705f3
@ -41,11 +41,12 @@ uses
|
||||
|
||||
var
|
||||
n, idx: Integer;
|
||||
Dwarf: TDbgDwarf;
|
||||
Dwarf: TFpDwarfInfo;
|
||||
AbbrevDecoder: TDwarfAbbrevDecoder;
|
||||
StatementDecoder: TDwarfStatementDecoder;
|
||||
FrameDecoder: TVerboseDwarfCallframeDecoder;
|
||||
Loader: TDbgImageLoader;
|
||||
ImageLoaderList: TDbgImageLoaderList;
|
||||
|
||||
begin
|
||||
if ParamCount < 1
|
||||
@ -57,8 +58,10 @@ begin
|
||||
DebugLogger.FindOrRegisterLogGroup('FPDBG_DWARF_VERBOSE')^.Enabled := True;
|
||||
|
||||
Loader := TDbgImageLoader.Create(ParamStr(1));
|
||||
ImageLoaderList := TDbgImageLoaderList.Create(True);
|
||||
Loader.AddToLoaderList(ImageLoaderList);
|
||||
|
||||
Dwarf := TDbgDwarf.Create(Loader);
|
||||
Dwarf := TFpDwarfInfo.Create(ImageLoaderList);
|
||||
n := Dwarf.LoadCompilationUnits;
|
||||
for idx := 0 to n - 1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user