[m-rev.] for review: .decldebug

Mark Brown dougl at cs.mu.OZ.AU
Thu Aug 22 05:53:11 AEST 2002


On 20-Aug-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> Index: runtime/mercury_grade.h
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/runtime/mercury_grade.h,v
> retrieving revision 1.38
> diff -u -b -r1.38 mercury_grade.h
> --- runtime/mercury_grade.h	2002/08/16 07:45:05	1.38
> +++ runtime/mercury_grade.h	2002/08/20 04:08:55
> @@ -254,18 +254,28 @@
>  ** Hence we consider it effectively binary incompatible.
>  ** Similar considerations apply to procedure call tracing.
>  */
> -#if defined(MR_STACK_TRACE)
> +#if defined(MR_DECL_DEBUG)
> +  #define MR_GRADE_PART_12	MR_PASTE2(MR_GRADE_PART_11, _decldebug)
> +  #if ! defined(MR_STACK_TRACE)
> +    #error "declarative debugging require stack traces"

s/require/requires/

> +  #endif
> +  #if ! defined(MR_REQUIRE_TRACING)
> +    #error "declarative debugging require execution tracing"

Ditto.

I'll post the diff of documentation for the declarative debugger for
review very soon, which will fix the dangling pointer Fergus mentioned.
You should probably hold off committing this until then.

Cheers,
Mark.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list