[fpc-pascal] DWARF line info cannot be used gdb

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Dec 28 16:57:27 CET 2008


On 28 Dec 2008, at 16:35, dmitry boyarintsev wrote:

> the bug's been reported (#12872).
>
> if i try to fix the bug, should i first to look at PE file writting  
> units?

You could first try compiling with -Aas. If that solves the problem,  
then the bug is indeed in the internal assembler. If that does not  
solve the problem, you can try -Xe to also use the external linker.

Another things that you could try is to add  
"tf_dwarf_relative_addresses" and/or "tf_dwarf_only_local_labels" to  
the "flags" field of the "system_i386_win32_info" typed constant in  
compiler/systems/i_win.pas


Jonas



More information about the fpc-pascal mailing list