[m-dev.] for review: The .NET MSIL backend.

Tyson Dowd trd at cs.mu.OZ.AU
Fri Oct 13 00:57:32 AEDT 2000


On 11-Oct-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 22-Sep-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > diff -u -r1.290 options.m
> > @@ -2096,7 +2100,10 @@
> >  		"--fact-table-hash-percent-full <percentage>",
> >  		"\tSpecify how full the `:- pragma fact_table' hash tables",
> >  		"\tshould be allowed to get.  Given as an integer percentage",
> > -		"\t(valid range: 1 to 100, default: 90)."
> > +		"\t(valid range: 1 to 100, default: 90).",
> > +
> > +		"--target-debug",
> > +		"\tEnable debugging of the generated target code."
> 
> The option should be documented in doc/user_guide.texi too.
> 
> Probably the best place to document this is just before --low-level-debug,
> rather than there.
> 
> It seems odd to document both --c-debug and --target-debug without
> saying that they are the same.  I think it would be better to document
> them together:
> 
> 		"--c-debug",
> 		"--target-debug",
> 		"\tEnable debugging of the generated target code."
> 		"\tIf the target language is C, this has the same effect as",
> 		"\t`--cflags ""-g"" --link-flags ""--no-strip""'.)",
> 		"\tIf the target language is IL, this causes the compiler to",
> 		"\tpass `/debug' to the IL assembler.)",

I didn't do this mainly because I didn't want to promise that --c-debug
would do the same as --target-debug.  

--c-debug will debug C code, but perhaps it should do this with any C
code generated (perhaps the target is IL but the foreign code is in C
and you want to do C debugging?).

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list