[fpc-devel] difference between stabs and dwarf for "var param"

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Dec 9 17:58:53 CET 2010

On 09 Dec 2010, at 17:40, Martin wrote:

> I understand that a var param is passed by ref (internally), but if Stabs can tell the debugger, to hide this, then shouldn't dwarf be able to do that too?
> Or is dwarf showing the internal pointer intentionally?

GDB does not yet support the concept of "var" parameters in DWARF, so we currently encode them as C++-style reference parameters.


More information about the fpc-devel mailing list