[fpc-devel] How to search units reported by gdb? (fpc and mseide devels please participate)

Paul Ishenin webpirat at mail.ru
Fri Mar 20 19:54:45 CET 2009

Jonas Maebe wrote:
> In trunk/r12933 you can now force the compiler to always store 
> absolute path for include files using -gostabsabsincludes. See the svn 
> comment for why it's not the default (gcc also never does this, you 
> can't even force it to do that). There is no way to specify a separate 
> base directory for an include file in stabs, as opposed to for the 
> main source file.
> The reason that gdb previously already found an absolute path for some 
> include files, was probably that they were located in the same 
> directory as the main unit file.
Sorry, for me it is somehow strange that this works different:


main unit file is located in

Best regards,
Paul Ishenin.

More information about the fpc-devel mailing list