mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 12:20:22 +02:00
debugger: format output of generic pointer
git-svn-id: trunk@23059 -
This commit is contained in:
parent
ace509e462
commit
55f665674a
@ -2589,14 +2589,18 @@ begin
|
|||||||
if Addr = 0
|
if Addr = 0
|
||||||
then AResult := 'nil';
|
then AResult := 'nil';
|
||||||
|
|
||||||
if (Length(S) > 0) and (S <> 'pointer')
|
if (Length(S) > 0)
|
||||||
then begin
|
then begin
|
||||||
if S[1] = 't'
|
if (S <> 'pointer')
|
||||||
then begin
|
then begin
|
||||||
S[1] := 'T';
|
if S[1] = 't'
|
||||||
if Length(S) > 1 then S[2] := UpperCase(S[2])[1];
|
then begin
|
||||||
end;
|
S[1] := 'T';
|
||||||
AResult := PascalizePointer(AResult, '^' + S);
|
if Length(S) > 1 then S[2] := UpperCase(S[2])[1];
|
||||||
|
end;
|
||||||
|
AResult := PascalizePointer(AResult, '^' + S);
|
||||||
|
end
|
||||||
|
else AResult := PascalizePointer(AResult);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user