[fpc-devel] How to search units reported by gdb? (fpc and mseide devels please participate)
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Mar 21 14:47:44 CET 2009
On 20 Mar 2009, at 19:54, Paul Ishenin wrote:
> 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:
>
> {file="C:/programming/fpc/rtl/i386/i386.inc",fullname="C:/
> programming/fpc/rtl/i386/i386.inc"} and
> {file="./include/messagedialogs.inc"}
>
> main unit file is located in
> C:/programming/mytest/0.9.27/SafeCall/project1.lpr
Did you recompile everything with -gostabsabsincludes? And did it
change anything at all?
Jonas
More information about the fpc-devel
mailing list