[M3commit] CVS Update: cm3
Rodney M. Bates
rodney at elego.de
Tue Feb 24 03:06:50 CET 2009
CVSROOT: /usr/cvs
Changes by: rodney at birch. 09/02/24 03:06:50
Modified files:
cm3/m3-sys/m3cc/gcc/gcc/: tree-cfg.c
cm3/m3-sys/m3gdb/gdb/gdb/: dbxread.c
Log message:
Fix a bug in the case where the presence of a nested
procedure inside a block with no local variables made
m3gdb unable to renest the procedure. The compiler
unnests procedures, and m3gdb renests them by relating
the mangled procedure name (which encodes a complete
accessing path to where the procedure is declared) to
the structure of nested blocks given by the debug
information.
Both the compiler and gdb were throwing away blocks
with no variables, leaving m3gdb unable to find the
right block. This had to be fixed in both places.
More information about the M3commit
mailing list