mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
FpDebug: accept PChar(nil) as string
git-svn-id: trunk@62025 -
This commit is contained in:
parent
51b18e32f4
commit
61e152cc7d
@ -2008,7 +2008,7 @@ begin
|
|||||||
|
|
||||||
t := TypeInfo;
|
t := TypeInfo;
|
||||||
if (t <> nil) then t := t.TypeInfo;
|
if (t <> nil) then t := t.TypeInfo;
|
||||||
if (t <> nil) and (t.Kind = skChar) and IsReadableMem(GetDerefAddress) then begin // pchar
|
if (t <> nil) and (t.Kind = skChar) and IsValidLoc(GetDerefAddress) then begin // pchar
|
||||||
if not t.ReadSize(nil, Size) then
|
if not t.ReadSize(nil, Size) then
|
||||||
Size := ZeroSize;
|
Size := ZeroSize;
|
||||||
case Size.Size of
|
case Size.Size of
|
||||||
|
Loading…
Reference in New Issue
Block a user