Mattias Gaertner wrote:
On Wed, 19 Dec 2007 10:25:51 +1100
John <[EMAIL PROTECTED]> wrote:

Hi all,

Using gdb from the lazarus (recent SVN)  IDE:

I have fpc compiled (from SVN) with the OPT='-gl' switch, and I can trace into .pas & .pp source in fpc units OK, but it doesn't
find .inc files.  "The file "something.inc" was not found, do you
want to find it yourself ?".  If I do, it then traces into it.
Sometimes if a .inc file is already open in the editor, it is found,
but I think not always.

Is there some switch or setting or other incantation that lets it
find the .inc files itself ?

The include paths in the compiler options should be enough. Otherwise
you found a bug.

Mattias
I don't have anything set there - I was wondering about that. Does "include paths" refer specifically to .inc files, or is it extra paths of any source to include in the search path ? If it is the former, do I have to add every place for .inc files down the fpc source tree ? (That seemed a bit daunting, so I didn't try it !)

Thanks,

John Sunderland

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to