Files
mercury/tests/debugger/mdb_command_test.inp
Mark Brown 9991b4974d Implement source-linking commands for mdb, using the new client/server
Estimated hours taken: 7.5
Branches: main

Implement source-linking commands for mdb, using the new client/server
feature of vim.  New commands added to mdb are 'view', which opens a
source-linked window if there is not one already open, and 'view -c'
which shuts any open source window.

This feature requires a version of vim compiled with '+clientserver'.
If such a program cannot be found, the mdb commands produce an error
message and do nothing else.

trace/mercury_trace_internal.c:
	Implement the new mdb commands.

	Add a new global variable which stores the information required
	for one source server.

	Every time mdb stops at an event, synchronise the source window
	if present with the source context of the event.  At interface
	events, we use the parent context if possible, since that is more
	useful information.

	When leaving mdb, close the source window if there is one open.

trace/mercury_trace_source.c:
trace/mercury_trace_source.h:
	Code for starting up and manipulating a source-server in a vim
	window.

trace/Mmakefile:
	Add the new module to the trace library.

doc/user_guide.texi:
doc/mdb_categories:
	Document the new mdb commands.

configure.in:
runtime/mercury_conf.h.in:
	Test for the functions getpid() and gethostname().  Without
	these functions mdb uses an inferior method to generate a unique
	server name.
2001-10-31 17:53:52 +00:00

52 lines
2.5 KiB
Plaintext

query xyzzy xyzzy xyzzy xyzzy xyzzy
cc_query xyzzy xyzzy xyzzy xyzzy xyzzy
io_query xyzzy xyzzy xyzzy xyzzy xyzzy
step xyzzy xyzzy xyzzy xyzzy xyzzy
goto xyzzy xyzzy xyzzy xyzzy xyzzy
next xyzzy xyzzy xyzzy xyzzy xyzzy
finish xyzzy xyzzy xyzzy xyzzy xyzzy
exception xyzzy xyzzy xyzzy xyzzy xyzzy
return xyzzy xyzzy xyzzy xyzzy xyzzy
forward xyzzy xyzzy xyzzy xyzzy xyzzy
mindepth xyzzy xyzzy xyzzy xyzzy xyzzy
maxdepth xyzzy xyzzy xyzzy xyzzy xyzzy
continue xyzzy xyzzy xyzzy xyzzy xyzzy
retry xyzzy xyzzy xyzzy xyzzy xyzzy
vars xyzzy xyzzy xyzzy xyzzy xyzzy
print xyzzy xyzzy xyzzy xyzzy xyzzy
browse xyzzy xyzzy xyzzy xyzzy xyzzy
stack xyzzy xyzzy xyzzy xyzzy xyzzy
up xyzzy xyzzy xyzzy xyzzy xyzzy
down xyzzy xyzzy xyzzy xyzzy xyzzy
level xyzzy xyzzy xyzzy xyzzy xyzzy
current xyzzy xyzzy xyzzy xyzzy xyzzy
set xyzzy xyzzy xyzzy xyzzy xyzzy
view xyzzy xyzzy xyzzy xyzzy xyzzy
break xyzzy xyzzy xyzzy xyzzy xyzzy
ignore xyzzy xyzzy xyzzy xyzzy xyzzy
disable xyzzy xyzzy xyzzy xyzzy xyzzy
enable xyzzy xyzzy xyzzy xyzzy xyzzy
delete xyzzy xyzzy xyzzy xyzzy xyzzy
modules xyzzy xyzzy xyzzy xyzzy xyzzy
procedures xyzzy xyzzy xyzzy xyzzy xyzzy
register xyzzy xyzzy xyzzy xyzzy xyzzy
mmc_options xyzzy xyzzy xyzzy xyzzy xyzzy
printlevel xyzzy xyzzy xyzzy xyzzy xyzzy
echo xyzzy xyzzy xyzzy xyzzy xyzzy
scroll xyzzy xyzzy xyzzy xyzzy xyzzy
context xyzzy xyzzy xyzzy xyzzy xyzzy
scope xyzzy xyzzy xyzzy xyzzy xyzzy
unalias xyzzy xyzzy xyzzy xyzzy xyzzy
histogram_all xyzzy xyzzy xyzzy xyzzy xyzzy
histogram_exp xyzzy xyzzy xyzzy xyzzy xyzzy
clear_histogram xyzzy xyzzy xyzzy xyzzy xyzzy
nondet_stack xyzzy xyzzy xyzzy xyzzy xyzzy
stack_regs xyzzy xyzzy xyzzy xyzzy xyzzy
all_regs xyzzy xyzzy xyzzy xyzzy xyzzy
table_io xyzzy xyzzy xyzzy xyzzy xyzzy
proc_stats xyzzy xyzzy xyzzy xyzzy xyzzy
label_stats xyzzy xyzzy xyzzy xyzzy xyzzy
source xyzzy xyzzy xyzzy xyzzy xyzzy
save xyzzy xyzzy xyzzy xyzzy xyzzy
quit xyzzy xyzzy xyzzy xyzzy xyzzy