mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 02:19:50 +02:00
fpDebug: Set Sect.VirtualAddress on Linux / See merge request !36 by ccrause
This commit is contained in:
parent
adafca05c0
commit
3b9f8954ba
@ -332,7 +332,7 @@ begin
|
|||||||
New(p);
|
New(p);
|
||||||
P^.Offs := fs.FileOfs;
|
P^.Offs := fs.FileOfs;
|
||||||
p^.Sect.Size := fs.Size;
|
p^.Sect.Size := fs.Size;
|
||||||
p^.Sect.VirtualAddress := 0; // Todo? fs.Address - ImageBase
|
p^.Sect.VirtualAddress := fs.Address; //0; // Todo? fs.Address - ImageBase
|
||||||
p^.Loaded := False;
|
p^.Loaded := False;
|
||||||
FSections.Objects[idx] := TObject(p);
|
FSections.Objects[idx] := TObject(p);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user