[m-rev.] trivial diff: fix debugger compilation errors

Simon Taylor stayl at cs.mu.OZ.AU
Tue Apr 9 22:15:17 AEST 2002


Estimated hours taken: 0.1
Branches: main

trace/mercury_trace_internal.c:
	Don't include `dd' and `dd_dd' in the command
	list if MR_USE_DECLARATIVE_DEBUGGER is not set.

Index: mercury_trace_internal.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
retrieving revision 1.125
diff -u -u -r1.125 mercury_trace_internal.c
--- mercury_trace_internal.c	8 Apr 2002 04:45:40 -0000	1.125
+++ mercury_trace_internal.c	9 Apr 2002 11:25:15 -0000
@@ -5052,10 +5052,12 @@
 	{ "misc", "quit", MR_trace_cmd_quit,
 		MR_trace_quit_cmd_args, NULL},
 
+#ifdef MR_USE_DECLARATIVE_DEBUGGER
 	{ "dd", "dd", MR_trace_cmd_dd,
 		NULL, MR_trace_null_completer},
 	{ "dd", "dd_dd", MR_trace_cmd_dd_dd,
 		NULL, MR_trace_filename_completer},
+#endif
 
 	/* End of doc/mdb_command_list. */
 	{ NULL, "NUMBER", NULL,
--------------------------------------------------------------------------
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