[M3commit] CVS Update: cm3

Rodney M. Bates rodney at elego.de
Sun Aug 26 02:05:09 CEST 2007

CVSROOT:	/usr/cvs
Changes by:	rodney at birch.	07/08/26 02:05:09

Modified files:
	cm3/m3-sys/m3cc/gcc/gcc/: dbxout.c 
	cm3/m3-sys/m3gdb/gdb/gdb/: m3-eval.c m3-lang.c 

Log message:
	m3gdb function calls had lost the ability to display the result
	of a function call.  In particular, "print Thread.Self()" now works again.
	To get the benefit of this, you have to rebuild cm3, then use it to rebuild
	m3core (or whatever contains functions you would like to call.)
	1) Forward patch a change to dbxout.c that never made it from
	the 3.4.5-to the 4.1.1-based code generator.   This gives
	m3gdb necessary information about blocks, so it can find
	local variables (which, oddly, is how it finds if a procedure
	is a function and if so, its result type.)
	2) Fix a regression in m3gdb, no longer looking in the outermost
	block of a function, for the function result pseudo-variable.
	This affected recent-cm3-compiled functions with "large"
	function results.

More information about the M3commit mailing list