View Issue Details

IDProjectCategoryView StatusLast Update
0018509FPCCompilerpublic2011-01-15 13:39
ReporterMartin Friebe Assigned ToJoost van der Sluis  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platformw32OSwin 
Product Version2.5.1 
Summary0018509: Dwarf 3 and Variant types
DescriptionVariant used to be encoded as record under dwarf 2 and stabs.

It fails with dwarf 3
GDB claims the record has no fields

Tested with the special patched gdb supplied by Joost

var
 ArgVariantInt: Variant;
 ArgVariantString: Variant;


Additional Informationresults with fpc trunk 16754

<ptype ArgVariantInt>
&"ptype ArgVariantInt\n"
~"type = Variant = record \n"
~" <no data fields>\n"
~"end\n"
^done
(gdb)
<ptype ArgVariantString>
&"ptype ArgVariantString\n"
~"type = Variant = record \n"
~" <no data fields>\n"
~"end\n"
^done
(gdb)
<whatis ArgVariantInt>
&"whatis ArgVariantInt\n"
~"type = Variant\n"
^done
(gdb)
<whatis ArgVariantString>
&"whatis ArgVariantString\n"
~"type = Variant\n"
^done
(gdb)
<-data-evaluate-expression ArgVariantInt>
^done,value="{}"
(gdb)
<-data-evaluate-expression ArgVariantString>
^done,value="{}"
(gdb)
 
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-01-15 00:30 Martin Friebe New Issue
2011-01-15 13:39 Jonas Maebe Status new => assigned
2011-01-15 13:39 Jonas Maebe Assigned To => Joost van der Sluis