[fpc-devel] Re: Debugger for FPC
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Mar 14 15:14:59 CET 2009
On 14 Mar 2009, at 15:00, Paul Ishenin wrote:
> Jonas Maebe wrote:
>>
>
>> Ok, thanks. Support for DWARF2 debug info for properties with an
>> accessor that does not pass via a function is committed.
>
> I'm glad to check it but how (fpc r12883)?
>
> c:\programming\fpc\bin\i386-win32\ppc386.exe -O1 -gl -gw test.pp
>
> Note: Switching assembler to default source writing assembler
> Free Pascal Compiler version 2.3.1 [2009/03/14] for i386
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Win32 for i386
> Compiling test.pp
> Fatal: Can't find unit lnfodwrf used by test
> Fatal: Compilation aborted
>
> What is lnfodwrf?
It's the DWARF version of the lineinfo unit. It's only required to get
line numbers in backtraces when a program crashes. Apparently, it
hasn't been ported to Win32 yet, but it's not required to debug. Just
leave out the -gl parameter.
Jonas
More information about the fpc-devel
mailing list