Home | History | Annotate | Line # | Download | only in ddb
TODO revision 1.4
      1  1.4  jhawk $NetBSD: TODO,v 1.4 2000/07/05 16:29:26 jhawk Exp $
      2  1.1  jhawk 
      3  1.1  jhawk In rough order.
      4  1.1  jhawk 
      5  1.1  jhawk Bugs to be fixed:
      6  1.1  jhawk 
      7  1.3  jhawk done	command history sometimes gets slightly confused
      8  1.1  jhawk 
      9  1.1  jhawk 2.	uvm_fault()s can loop infinitely (kern/10016)
     10  1.1  jhawk 
     11  1.1  jhawk 3.	examine /m (hex + character dump) doesn't work.
     12  1.1  jhawk 
     13  1.1  jhawk 4.	"dot", "next", and "last" are not set properly and are usually
     14  1.1  jhawk 	the same.
     15  1.1  jhawk 
     16  1.1  jhawk 5.	The vax port supporst decimal pids in "kill", etc. This should be
     17  1.1  jhawk 	MI or not exist at all.
     18  1.1  jhawk 
     19  1.1  jhawk 6.	double-quote delimitted strings don't work in "print", nor do
     20  1.1  jhawk 	multiple arguments (like the manpage says)
     21  1.1  jhawk 
     22  1.1  jhawk Features to be implemented:
     23  1.1  jhawk 
     24  1.1  jhawk 1.	Have "ps" print pids with a 0t prefix to reduce radix
     25  1.4  jhawk 	confusion. This is very ugly...needs thought.
     26  1.1  jhawk 
     27  1.4  jhawk done	"set" should display the old value as "write" does.
     28  1.1  jhawk 
     29  1.1  jhawk 3.	Support 64-bit longs in "write". /L or /q? both? long versus quad?
     30  1.1  jhawk 
     31  1.1  jhawk 4.	Note only some radixes are supported.
     32  1.1  jhawk 
     33  1.1  jhawk 5.	Allow a mechanism for DDB to not fail under X (on the i386).
     34  1.1  jhawk 	Probably just skip DDB in such cases. 
     35  1.1  jhawk 
     36  1.1  jhawk 6.	Enable DDB in GENERIC on all architectures not starved for
     37  1.1  jhawk 	space.
     38  1.1  jhawk 
     39  1.1  jhawk 7.	Numbers starting with [a-f] should work, but symbols
     40  1.1  jhawk 	of the same name should have priority.
     41  1.1  jhawk 
     42  1.1  jhawk 8.	Implement the unimplemented C operators, especially bitwise-OR (|).
     43  1.1  jhawk 
     44  1.1  jhawk 9.	"cond" -- conditionally execute a specified command on a breakpoint.
     45  1.1  jhawk 	from Mach.
     46  1.1  jhawk 
     47  1.1  jhawk 10.	macros ("macro", "dmacro", "show macro"). from Mach.
     48  1.1  jhawk 
     49  1.1  jhawk 11.	!! command repitition (mostly unnecessary, just for consistency).
     50  1.1  jhawk 	from Mach.
     51  1.1  jhawk 
     52  1.1  jhawk 12.	"continue" should honor _count as a number of breakpoints to ignore,
     53  1.1  jhawk 	just as ",5:c" ignores 5 breakpoints in adb.
     54  1.1  jhawk 
     55  1.1  jhawk 13.	There should be a "step over" command (like :e in adb) that sets
     56  1.1  jhawk 	a breakpoint at the next instruction if the current instruction
     57  1.1  jhawk 	is a call (or jump?).
     58  1.1  jhawk 
     59  1.1  jhawk 14.	Specification of up to 4 ASCII chars as a 32-bit number
     60  1.1  jhawk 	in an expression, like ' in adb:
     61  1.1  jhawk 	     'cccc'          ASCII value of up to 4 characters.
     62  1.1  jhawk 	I'm not sure what character to use for this, if the single-quote
     63  1.1  jhawk 	is used for ditto, and the double-quote for strings in "print".
     64  1.1  jhawk 
     65  1.1  jhawk 15.	Add crossreference of gdb/ddb commands to manpage. i.e.
     66  1.1  jhawk 	ddb "next" ~= gdb "finish".
     67  1.1  jhawk 
     68  1.1  jhawk 16.	Correct "ditto" to be a single-quote? Or something else?
     69  1.1  jhawk 
     70  1.1  jhawk 17.	option? To not lose system time when in ddb [reset clock on exit?]
     71  1.1  jhawk 
     72  1.1  jhawk 18.	Consider an XSERVER_DDB option [is it worth it?]
     73  1.1  jhawk 
     74  1.1  jhawk 19.	Eliminate vestigal DDB-specific kprintf() format specifiers
     75  1.1  jhawk 
     76  1.1  jhawk 20.	Figure out what's up with "ed_style"
     77  1.1  jhawk 
     78  1.1  jhawk 21.	Some sort of "immediate" step-in, step-over keybindings, like [
     79  1.1  jhawk 	and ] in kadb (but not in adb):
     80  1.1  jhawk 	     [           Like :e in adb(1), but requires only  one  keys-
     81  1.1  jhawk 			 troke and no RETURN character.
     82  1.1  jhawk 	
     83  1.1  jhawk 	     ]           Like :s in adb(1), but requires only  one  keys-
     84  1.1  jhawk 			 troke and no RETURN character.
     85  1.1  jhawk 	Does this make people queasy?
     86  1.1  jhawk 
     87  1.1  jhawk 22.	"search" should display useful output (by default? with /v?)
     88  1.1  jhawk 	indicating success/failure rather than simply setting "dot".
     89  1.1  jhawk 	Perhaps verbose by default unless called from a macro (ugh?).
     90  1.1  jhawk 
     91  1.1  jhawk 23.	kern/9544, some symbolic representation of boot flags
     92  1.1  jhawk 	suitable for documentation (esp. for RB_NOSYNC).
     93  1.1  jhawk 
     94  1.1  jhawk 24.	Soren requests in-band symbol table storage for ddb.
     95  1.1  jhawk 	"dbsym"? Needs investigation/thought.
     96  1.1  jhawk 
     97  1.1  jhawk 25.	Support multiple address spaces (e.g. io space).
     98  1.1  jhawk 	Suggested by eeh in <Pine.NEB.4.21.0005250944210.25299-100000@ehorvath>
     99  1.1  jhawk 
    100  1.1  jhawk 26.	Expand help to provide usage/synopsis per-command.
    101  1.1  jhawk 
    102  1.1  jhawk 27.	Ensure MD commands have consistent names and factor out
    103  1.1  jhawk 	common code.
    104