Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-09

-gh lineinfo or also infodwrf?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thomas Schatzl
to Martin

Hi,

Martin wrote 12 lines
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

Reply by email