FpDebug: fix 32bit elf-imagereader (wrong variable used). Issue #38449 Patch by Christo Crause

git-svn-id: trunk@64501 -
This commit is contained in:
martin 2021-02-08 02:25:10 +00:00
parent 351baa8fb0
commit 04eb581af0

View File

@ -438,7 +438,7 @@ begin
begin
if SymbolArr32^[i].st_name<>0 then
begin
SectIdx := SymbolArr64^[i].st_shndx;
SectIdx := SymbolArr32^[i].st_shndx;
if (SectIdx < 0) or (SectIdx >= fElfFile.seccount) then
continue;
Sect := @fElfFile.sections[SectIdx];