De : Joel Brobecker [mailto:brobecker@adacore.com]
This is only just for comments, as there is still one question open:
For Ada, we store the symbols for nested subprograms in the global
context. This allows us to break on these functions even when these
functions are not defined in the current context. Do we want to do
the
same with Pascal?
I believe that, at least with the Free Pascal compiler and
stabs debugging format (which is the format I worked on), all
nested subprograms where also in the global context and thus
I would not mind to do the same for pascal language.
I must confess that I stopped working for the Free Pascal compiler
more or less when the dwarf debugging format was added, and I almost
don't
know
anything about that format...
The only thing that I can tell, is that last time I checked
Free Pascal (version 2.2.0 windows 32bit target) with -gw (dwarf
debugging
format)
I still got lots of errors while trying to load the compiler inside
gdb :(