summaryrefslogtreecommitdiff
path: root/sys/ddb
AgeCommit message (Collapse)Author
2003-12-03add dmesg command; ok deraadt, mcbride, henning and moreMarkus Friedl
2003-08-24sprinkle some __kprintf__ attributes around functions which use formatAnil Madhavapeddy
strings in the kernel to make gcc aware of the extra modifiers deraadt@ ok
2003-07-08better output length estimate for a nicer printoutMichael Shalayeff
2003-06-28option to log ddb output to kernel message buffer, via sysctl ddb.logTed Unangst
ok deraadt@ henric@ djm@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02kill the clauses three and four on my sourcesMichael Shalayeff
2003-06-01When searching for the symbol table and string table we were lookingArtur Grabowski
for ".symtab" and ".strtab" in the section names. Instead of doing that, look for section type SHT_SYMTAB for the symbol table and follow the link in sh_link to find the corresponding string table. This is a more correct way of doing things and will work better when the toolchain doesn't generate ".symtab" and ".strtab" names and it will work when there are multiple symbol tables. noone objected to this diff for at least a week.
2003-05-12sho proc [addr] to print some proc's field; art@ okMichael Shalayeff
2003-02-12Remove commons; inspired by netbsd.Jason Wright
2002-07-10It is supposed to be printf, not db_printf. This change costed meArtur Grabowski
several days of debugging my laptop because underneath the X it was sitting on the console waiting for me to press some key on the '--db_more--' prompt.
2002-07-01Don't let variable declarations without "extern" living in .h files.Miod Vallat
While there fix a benign type mismatch in db_stack_dump() and remove diag code left by art by mistake.
2002-06-14992 bytes. Also works if random function returns 0 first time.Marcus Watts
2002-06-11Saves 4 bytes of filespaceMarcus Watts
2002-06-11can't call arc4random() before timeouts are enabled, use random() if cold.Jason Wright
2002-05-18Implement db_stack_dump - a function that will print a stackArtur Grabowski
trace with printf (to the console and into the msgbuf).
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-05-16Add a an argument to db_printsym that specifies the printf functionArtur Grabowski
we'll use for printing the information. miod@ ok
2002-05-14Use db_format in db_printsym (we'll want to be able to use printf in it soon).Artur Grabowski
2002-05-14db_printf has three non-standard formats that are not supported byArtur Grabowski
printf. Since we want to be able to have some ddb functions use db_printf or normal printf, provide a new way to acheive the same kind of formatting. The new function is called db_format and can emulate all variations of how the nonstandard db_printf formats are used. Note that this doesn't (yet?) mean that we want to convert all the non-standard formats, we just want to have that option. miod@ ok.
2002-05-13minor knf.Artur Grabowski
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-27don't execute the pmap_update() call if we have no watch list. bo-bo art :-)Per Fogelstrom
2002-01-28Add "boot reboot" to please jason@ and "boot poweroff" to please drahn@.Miod Vallat
2002-01-02Add more vocabulary (commands) to ddb, from NetBSD.Miod Vallat
ok art@ (manual page update coming soon)
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-08-19shorterArtur Grabowski
2001-08-19Needed a simple cast after a sparc64 change.Mike Frantzen
2001-08-19Ugly hack to make symbols work on sparc64.Artur Grabowski
We really need to change ddb_init to take args from MD code.
2001-08-19Print a reason for failing to init the symbol table.Artur Grabowski
2001-08-19shorten the message to fit on a line.Artur Grabowski
2001-08-18I am sick and tired of bug reports LACKING INFORMATION.Artur Grabowski
2001-07-04Make preprocessor happier, don't give it untasty tokens at end of input.Marc Espie
Ok millert@
2001-07-04missed EOL at EOFMarc Espie
2001-06-29print the total score, size permittingMichael Shalayeff
2001-06-29cleanup, including removing the size rule which nobodyMichael Shalayeff
gives a shit about anyway.
2001-06-27Remove old vm.Artur Grabowski
2001-04-18New boot command: boot halt.Artur Grabowski
Don't sync, don't dump, just halt.
2001-04-05Tell the users what to report when the kernel crashes.Artur Grabowski
2001-03-15$OpenBSD$Niklas Hallqvist
2001-02-10When computing the value of an entry in the string table, don'tTodd C. Miller
just add strtab to s->n_un.n_strx since we may have multiple string tables (for instance in the case of lkms). Instead, add in t->end whcih in a.out will be the start of the string table for this symtab. OK'd by niklas@
2001-02-10new symbol handling in ddb for ELF, there is still a problem with hangman on ↵Niklas Hallqvist
alpha though..
2001-02-08Capital punishment, just in case :-)Niklas Hallqvist
2001-02-06Allow booting on alphas with DDB, although no symbols will be seen.Niklas Hallqvist
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2000-06-07Allow passing an address to 'show malloc' and print out some information aboutArtur Grabowski
that address.
2000-06-07Add 'show malloc' that prints out malloc debugging information if available.Artur Grabowski