mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:35:58 +02:00
FpDebug: fix reading string constant, broken in r63193 #71fbdbd144 "support for codepages in Dwarf-3"
git-svn-id: trunk@63392 -
This commit is contained in:
parent
f59a294a01
commit
4570e9dea5
@ -1327,6 +1327,8 @@ var
|
||||
begin
|
||||
// Only call this function for non-empty strings!
|
||||
Result := False;
|
||||
if not IsTargetNotNil(Addr) then
|
||||
exit;
|
||||
|
||||
// Only AnsiStrings in fpc 3.0.0 and higher have a dynamic codepage.
|
||||
if (TypeInfo.Kind = skString) and (TFpDwarfFreePascalSymbolClassMapDwarf3(TypeInfo.CompilationUnit.DwarfSymbolClassMap).FCompilerVersion >= $030000) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user