Files
mercury/scripts/mdbrc.in
Fergus Henderson c35bcebf9c Alias EMPTY and NUMBER to "step", to simplify the code in
Estimated hours taken: 0.75

scripts/mdbrc.in:
	Alias EMPTY and NUMBER to "step", to simplify the code in
	mercury_trace_internal.c for handling those.

trace/mercury_trace_internal.c:
	Split the very long and complicated function MR_trace_debug_cmd()
	into two, one of which contains all the before-and-after processing,
	and the other being the main command dispatch switch.
	Delete the special-case handling of EMPTY and NUMBER since it's
	now done by scripts/mdbrc.in.

	Add some recently-added command names to the list of valid commands.
1999-03-18 08:19:17 +00:00

16 lines
255 B
Plaintext

source @DEFAULT_MERCURY_DEBUGGER_INIT_DIR@/mdb_doc
alias s step
alias g goto
alias f finish
alias r retry
alias v vars
alias p print
alias P print *
alias d stack
alias c continue
alias b break
alias h help
alias ? help
alias EMPTY step
alias NUMBER step