mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
FpDebug: fix reading large dwarf info on 32bit Linux
This commit is contained in:
parent
2d7b1138f4
commit
bdb719b82a
@ -511,6 +511,8 @@ begin
|
||||
for i := 0 to SymbolCount-1 do
|
||||
begin
|
||||
begin
|
||||
{$push}
|
||||
{$R-}
|
||||
if SymbolArr32^[i].st_name<>0 then
|
||||
begin
|
||||
SectIdx := SymbolArr32^[i].st_shndx;
|
||||
@ -521,12 +523,11 @@ begin
|
||||
continue; // not loaded, symbol not in memory
|
||||
|
||||
SymbolName:=pchar(SymbolStr+SymbolArr32^[i].st_name);
|
||||
{$push}
|
||||
{$Q-}{$R-}
|
||||
{$Q-}{$R-}
|
||||
AfpSymbolInfo.Add(SymbolName, TDBGPtr(SymbolArr32^[i].st_value+RelocationOffset),
|
||||
Sect^.Address + Sect^.Size+RelocationOffset);
|
||||
{$pop}
|
||||
end;
|
||||
{$pop}
|
||||
end
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user