[M3devel] dbxout_static_chain_decl?
Jay K
jay.krell at cornell.edu
Wed May 26 13:58:09 CEST 2010
Rodney, you added this function, along with a comment that says it doesn't actually work.
Does it work?
Does it accomplish anything?
Can I remove it and its calls?
/* Special-purpose function to write stabs for the static_chain_decl.
So far, this is not working. m3gdb needs the place in the activation
record where the SL is stored. Right now, the SL is not necessarily
stored at all, but may just be kept in a register. DECL_RTL and
DECL_INCOMING_RTL may both have register expressions. But stabs
entries for register variables, of kind N_RSYM, are currently ignored
by gdb in dbxread.c, and making it read them could create problems
elsewhere, because there can be other variables for which both an
N_RSYM and an N_LSYM stabs entry are created.
*/
static int
dbxout_static_chain_decl (tree decl)
It was added 19 months ago by:
http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-sys/m3cc/gcc/gcc/dbxout.c.diff?r1=1.8;r2=1.9
as well, do we need the #if 0 code added then?
- Jay
More information about the M3devel
mailing list