[fpc-devel] -gh lineinfo or also infodwrf?
Thomas Schatzl
tom_at_work at gmx.at
Fri Sep 16 22:58:47 CEST 2011
Hi,
On Fri, 16 Sep 2011 21:45:53 +0100, Martin wrote:
> In the doc it says at
> http://www.freepascal.org/docs-html/user/usersu15.html#x38-450005.1.4
>>
>> -gl
>> Use the lineinfo unit (see Unit Reference
>> <http://www.freepascal.org/docs-html/rtl/index.html>). (Produces
>> file name/line number information if the program exits due to an
>> error.)
>>
>
> but that unit is described as stabs only, so if one were to use "-gw
> -gl" or "-gl -gw" in either order, would it use the infodwrf instead?
Yes. The lineinfo unit is magically replaced by the appropriate unit
implementing the lineinfo reader for stabs or dwarf during compilation
as appropriate.
Thomas
More information about the fpc-devel
mailing list