[fpc-devel] How to search units reported by gdb? (fpc and mseide devels please participate)
webpirat at mail.ru
Fri Feb 27 15:17:29 CET 2009
Hello, FPC developers' list
We have a trouble in lazarus. We need to open units and include files
wich gdb returns to us. The problem is that gdb repors them without full
At moment if we get some file we expand it path using known project and
packages paths (lcl is a package too).
But in case of .inc files we have a problem that name is not unique
(this can be also true for units but happens less frequent). For example
lists.inc is placed in
Thus we need to parse that lists.inc files and compare it with
method/function/procedure from the stack.
TLIST__DELETE lists.inc 123
We can finds two lists.inc (one in the packages\gnome and second in the rtl\objpas\classes). Then we need to parse them and look for TList.Delete.
This all (searching and parsing) is not simple and requires much time.
What solution fpc team can suggest? How this solved by mseide developers?
More information about the fpc-devel