[m-dev.] for review: a big step towards the trace-based debugger (part 2 of 3)

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Mar 26 17:39:32 AEDT 1998


> >  fatal_error(const char *message) {
> >  	fprintf(stderr, "Mercury runtime: %s\n", message);
> > +	MR_trace_report();
> >  	exit(1);
> >  }
> 
> Is this safe?
Yes.

> fatal_error() can be called from init_memory_arena()
> which is called before MR_trace_init().  Does MR_trace_report() depend
> on that?

No.

Zoltan.



More information about the developers mailing list