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