dwarf3 and others too [Re: [fpc-devel] Dwarf3 and the encoding of classes]

Martin fpc at mfriebe.de
Tue Jan 11 01:23:37 CET 2011


I did some more test., I will check in later...

None of the old dwarf or stabs seems to define the <> operator for classes.
p Foo<>Bar
gives unknown symbold Foo<>Bar
So it does take it as one symbol?


nil
nil is not defined ever.
but under stabs dwarf2 Foo=0 works


Dwarf 3:
While the debugger can not do "@ArgTFoo^" in any stabs/dwarf, with the 
older formats it can do "(@ArgTFoo)^" (apparently a question of the 
order in which the operators are applied)
Under dwarf 3 this fails.
It outputs a class, so it has correctly gotten the type => but the data 
in the class, the values of the members are wrong. So it may have 
somewhere messed the address up ?


a: PAnsiString = 'abc'
-data-evaluate-expression a^
empty string, but shopuld be 'abc'






More information about the fpc-devel mailing list