[fpc-devel] Dwarf3 and the encoding of classes

Marco van de Voort marcov at stack.nl
Mon Jan 3 14:43:22 CET 2011


In our previous episode, Joost van der Sluis said:
> 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)
> 
> Or we 'hide' the implicit pointer so that AnObject.Destroy works, but we
> have to add some hacks to gdb so that an unallocated class is shown as
> 'nil', and add the ability to do pointer-arithmetic on classes. (Like
> comparing two classes)
> 
> Two options, both have there pro's and con's?

And casting(?), e.g. for stuff like tlist where there are pointers<> class
casts.



More information about the fpc-devel mailing list