mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 22:20:24 +02:00
LazDebuggerFp: fix "variant" converter for dwarf-2
(cherry picked from commit ac0faad39a
)
This commit is contained in:
parent
9b2a8b054a
commit
e740c08173
@ -227,8 +227,14 @@ begin
|
||||
try
|
||||
i := vtype.AsInteger;
|
||||
case i of
|
||||
0: AnResData.CreatePrePrinted('<Empty>');
|
||||
1: AnResData.CreatePrePrinted('<Null>');
|
||||
0: begin
|
||||
AnResData.CreatePrePrinted('<Empty>');
|
||||
exit;
|
||||
end;
|
||||
1: begin
|
||||
AnResData.CreatePrePrinted('<Null>');
|
||||
exit;
|
||||
end;
|
||||
2: Result := ASourceValue.MemberByName['VSMALLINT'];
|
||||
3: Result := ASourceValue.MemberByName['VINTEGER'];
|
||||
4: Result := ASourceValue.MemberByName['VSINGLE'];
|
||||
|
Loading…
Reference in New Issue
Block a user