mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 10:29:28 +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
|
||||
then AResult := 'nil';
|
||||
|
||||
if (Length(S) > 0) and (S <> 'pointer')
|
||||
if (Length(S) > 0)
|
||||
then begin
|
||||
if S[1] = 't'
|
||||
if (S <> 'pointer')
|
||||
then begin
|
||||
S[1] := 'T';
|
||||
if Length(S) > 1 then S[2] := UpperCase(S[2])[1];
|
||||
end;
|
||||
AResult := PascalizePointer(AResult, '^' + S);
|
||||
if S[1] = 't'
|
||||
then begin
|
||||
S[1] := 'T';
|
||||
if Length(S) > 1 then S[2] := UpperCase(S[2])[1];
|
||||
end;
|
||||
AResult := PascalizePointer(AResult, '^' + S);
|
||||
end
|
||||
else AResult := PascalizePointer(AResult);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user