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