[M3commit] CVS Update: cm3
Rodney M. Bates
rodney at elego.de
Thu Dec 18 05:17:43 CET 2008
CVSROOT: /usr/cvs
Changes by: rodney at birch. 08/12/18 05:17:43
Modified files:
cm3/m3-sys/m3gdb/gdb/gdb/: frame.c infcall.c m3-eval.c m3-lang.c
m3-lang.h m3-util.c m3-util.h
m3-valprint.c
Log message:
Some progress adapting the the new system of static links used by gcc
4.3.0. In many cases, m3gdb can now properly follow them and also
create them, when calling or passing a nested procedure.
The main place it will fail is if a nested procedure makes no nonlocal
references to variables or parameters of an enclosing procedure, nor
does any further enclosed procedure.
If it can't find a static link, it will still fall back to the process
of nearest dynamic ancestor activation record that belongs to the
desired procedure. This will be correct when nested procedures are
called only as procedure constants.
For older compilers everything should work, though the implementation
is greatly changed.
More information about the M3commit
mailing list