TODO revision 1.4
11.4Sjhawk$NetBSD: TODO,v 1.4 2000/07/05 16:29:26 jhawk Exp $
21.1Sjhawk
31.1SjhawkIn rough order.
41.1Sjhawk
51.1SjhawkBugs to be fixed:
61.1Sjhawk
71.3Sjhawkdone	command history sometimes gets slightly confused
81.1Sjhawk
91.1Sjhawk2.	uvm_fault()s can loop infinitely (kern/10016)
101.1Sjhawk
111.1Sjhawk3.	examine /m (hex + character dump) doesn't work.
121.1Sjhawk
131.1Sjhawk4.	"dot", "next", and "last" are not set properly and are usually
141.1Sjhawk	the same.
151.1Sjhawk
161.1Sjhawk5.	The vax port supporst decimal pids in "kill", etc. This should be
171.1Sjhawk	MI or not exist at all.
181.1Sjhawk
191.1Sjhawk6.	double-quote delimitted strings don't work in "print", nor do
201.1Sjhawk	multiple arguments (like the manpage says)
211.1Sjhawk
221.1SjhawkFeatures to be implemented:
231.1Sjhawk
241.1Sjhawk1.	Have "ps" print pids with a 0t prefix to reduce radix
251.4Sjhawk	confusion. This is very ugly...needs thought.
261.1Sjhawk
271.4Sjhawkdone	"set" should display the old value as "write" does.
281.1Sjhawk
291.1Sjhawk3.	Support 64-bit longs in "write". /L or /q? both? long versus quad?
301.1Sjhawk
311.1Sjhawk4.	Note only some radixes are supported.
321.1Sjhawk
331.1Sjhawk5.	Allow a mechanism for DDB to not fail under X (on the i386).
341.1Sjhawk	Probably just skip DDB in such cases. 
351.1Sjhawk
361.1Sjhawk6.	Enable DDB in GENERIC on all architectures not starved for
371.1Sjhawk	space.
381.1Sjhawk
391.1Sjhawk7.	Numbers starting with [a-f] should work, but symbols
401.1Sjhawk	of the same name should have priority.
411.1Sjhawk
421.1Sjhawk8.	Implement the unimplemented C operators, especially bitwise-OR (|).
431.1Sjhawk
441.1Sjhawk9.	"cond" -- conditionally execute a specified command on a breakpoint.
451.1Sjhawk	from Mach.
461.1Sjhawk
471.1Sjhawk10.	macros ("macro", "dmacro", "show macro"). from Mach.
481.1Sjhawk
491.1Sjhawk11.	!! command repitition (mostly unnecessary, just for consistency).
501.1Sjhawk	from Mach.
511.1Sjhawk
521.1Sjhawk12.	"continue" should honor _count as a number of breakpoints to ignore,
531.1Sjhawk	just as ",5:c" ignores 5 breakpoints in adb.
541.1Sjhawk
551.1Sjhawk13.	There should be a "step over" command (like :e in adb) that sets
561.1Sjhawk	a breakpoint at the next instruction if the current instruction
571.1Sjhawk	is a call (or jump?).
581.1Sjhawk
591.1Sjhawk14.	Specification of up to 4 ASCII chars as a 32-bit number
601.1Sjhawk	in an expression, like ' in adb:
611.1Sjhawk	     'cccc'          ASCII value of up to 4 characters.
621.1Sjhawk	I'm not sure what character to use for this, if the single-quote
631.1Sjhawk	is used for ditto, and the double-quote for strings in "print".
641.1Sjhawk
651.1Sjhawk15.	Add crossreference of gdb/ddb commands to manpage. i.e.
661.1Sjhawk	ddb "next" ~= gdb "finish".
671.1Sjhawk
681.1Sjhawk16.	Correct "ditto" to be a single-quote? Or something else?
691.1Sjhawk
701.1Sjhawk17.	option? To not lose system time when in ddb [reset clock on exit?]
711.1Sjhawk
721.1Sjhawk18.	Consider an XSERVER_DDB option [is it worth it?]
731.1Sjhawk
741.1Sjhawk19.	Eliminate vestigal DDB-specific kprintf() format specifiers
751.1Sjhawk
761.1Sjhawk20.	Figure out what's up with "ed_style"
771.1Sjhawk
781.1Sjhawk21.	Some sort of "immediate" step-in, step-over keybindings, like [
791.1Sjhawk	and ] in kadb (but not in adb):
801.1Sjhawk	     [           Like :e in adb(1), but requires only  one  keys-
811.1Sjhawk			 troke and no RETURN character.
821.1Sjhawk	
831.1Sjhawk	     ]           Like :s in adb(1), but requires only  one  keys-
841.1Sjhawk			 troke and no RETURN character.
851.1Sjhawk	Does this make people queasy?
861.1Sjhawk
871.1Sjhawk22.	"search" should display useful output (by default? with /v?)
881.1Sjhawk	indicating success/failure rather than simply setting "dot".
891.1Sjhawk	Perhaps verbose by default unless called from a macro (ugh?).
901.1Sjhawk
911.1Sjhawk23.	kern/9544, some symbolic representation of boot flags
921.1Sjhawk	suitable for documentation (esp. for RB_NOSYNC).
931.1Sjhawk
941.1Sjhawk24.	Soren requests in-band symbol table storage for ddb.
951.1Sjhawk	"dbsym"? Needs investigation/thought.
961.1Sjhawk
971.1Sjhawk25.	Support multiple address spaces (e.g. io space).
981.1Sjhawk	Suggested by eeh in <Pine.NEB.4.21.0005250944210.25299-100000@ehorvath>
991.1Sjhawk
1001.1Sjhawk26.	Expand help to provide usage/synopsis per-command.
1011.1Sjhawk
1021.1Sjhawk27.	Ensure MD commands have consistent names and factor out
1031.1Sjhawk	common code.
104