debugger: format output of generic pointer

git-svn-id: trunk@23059 -
This commit is contained in:
paul 2009-12-10 08:07:17 +00:00
parent ace509e462
commit 55f665674a

View File

@ -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;