[fpc-devel] Dwarf3 and the encoding of classes
    Martin 
    fpc at mfriebe.de
       
    Mon Jan  3 13:59:25 CET 2011
    
    
  
On 03/01/2011 12:29, Joost van der Sluis wrote:
> This has nothing to do with gdb, but with the debug-information that fpc
> (-gw3) generates. Now it handles classes as if they are not pointers. I
> think that this is closer to how a class is defined in Pascal. A class
> is (imho) not a pointer, just like an ansistring is not a pointer. After
> all, we don't use AnObject^.Destroy....
>
> So we have to choose what to do: make the implicit pointer visible in
> the debug-info and add some hacks to gdb that it converts
> AnObject.Destroy to AnObject^.Destroy. (This is what we do with stabs
> and Dwarf<  3)
How was it done in stabs? IIRC with stabs objects behaved? (but I will 
have to retest this)
I don't remember what stabs did to nil, or compare....
    
    
More information about the fpc-devel
mailing list