Files
mercury/doc/mdb_categories
Fergus Henderson f1d1041d08 Add support for invoking interactive queries to mdb.
Estimated hours taken: 17

Add support for invoking interactive queries to mdb.

browser/interactive_query.m:
	New module, to implement interactive queries.

browser/dl.m:
browser/name_mangle.m:
	Copy these files from extras/dynamic_linking, since
	they are needed by browser/interactive_query.m.

configure.in:
runtime/mercury_conf.h.in:
	Autodetect the presence of support for dlopen() etc.

browser/dl.m:
	Add #ifdefs so that the code will compile (but report
	an error at runtime) if dlopen() etc. are not supported.

browser/browser_library.m:
	Add interface_query, dl, and name_mangle to the list of
	modules in this library.

trace/mercury_trace_browse.h:
trace/mercury_trace_browse.c:
	Add a new function MR_trace_query() to interface to the ML_query()
	function defined by browser/interfactive_query.m.

trace/mercury_trace_internal.c:
	Add code to implement new commands `query', `cc_query', `io_query',
	and `mmc_options', using the MR_trace_query() function defined by
	trace/mercury_trace_browse.h.

runtime/mercury_grade.h:
	Add code to define MR_GRADE_OPT, so that browser/interactive_query.m
	can use this to invoke mmc with the same grade that the executable
	being debugged was built with.

doc/mdb_categories:
doc/user_guide.texi:
	Document the new commands `query', `cc_query', `io_query',
	and `mmc_options'.
1999-03-05 12:52:34 +00:00

61 lines
2.0 KiB
Plaintext

document_category 100 concepts
concepts - The concepts on which the Mercury debugger is based.
end
document_category 150 queries
queries - Commands for invoking goals interactively.
The commands for queries are
`query', `cc_query', and `io_query'.
end
document_category 200 forward
forward - Commands that move execution forward.
The forward commands are `step', `goto', `finish', `forward',
`mindepth', `maxdepth' and `continue'.
end
document_category 300 backward
backward - Commands that move execution backward.
The only such command is `retry'.
end
document_category 400 browsing
browsing - Commands that let users explore the state of the computation.
The browsing commands are `vars', `print', `browse',
`stack', `up', `down', `level', and `current'.
end
document_category 500 breakpoint
breakpoint - Commands that let users set and control breakpoints.
The breakpoint commands are `break', `disable', `enable',
`modules', `procedures' and `register'.
end
document_category 600 parameter
parameter - Commands that let users access debugger parameters.
The parameter commands are `printlevel', `echo', `scroll',
`mmc_options', `alias' and `unalias'.
end
document_category 700 help
help - Commands that let users access and control the help system.
The help commands are `document_category', `document' and `help'.
end
document_category 800 exp
exp - Commands that let users collect and inspect experimental
data about the behavior of the program. The exp commands are
`histogram_all', `histogram_exp', and `clear_histogram'.
end
document_category 900 developer
developer - Commands that are intended to be of use only to developers
of the Mercury implementation. The developer commands are
`nondet_stack' and `stack_regs'.
end
document_category 1000 misc
misc - Commands that do not fit into other categories.
The misc commands are `source' and `quit'.
end