[fpc-devel] more question on -g commandline switches / -gv valgind

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Sep 18 16:49:37 CEST 2011


On 18 Sep 2011, at 14:34, Martin wrote:

> Does -gv :
> - force either stabs or dwarf

-gv by itself enables the default debug format, just like -g, -gh, -gt, -gc, ...

> - work with both, and add extend info (never mind if stabs or dwarf)

It works with both.

> - observe stabs or dwarf setting (-gs / -gw) but only add info for one of the 2 formats?

It mainly removes debug information with which Valgrind cannot deal, in addition to including the cmem unit. And yes, -gw -gv will force DWARF in combination with Valgrind provisions, and -gs -gv will force Stabs in combination with Valgrind provisions.


Jonas


More information about the fpc-devel mailing list