| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | When multiple display modifiers are specified on a ddb examine command, do | 2011-11-07 | 1 | -25/+41 | |
| | | | | | | | | not advance the address until the last modifier has been processed. This allows sequences like `x/xi address,count' to yield meaningful results. As a bonus, handle `i' and `I' modifiers last, so that I don't have to fight my habit of using `x/ix' instead of `x/xi'. | ||||
| * | In ddb, when dereferencing a pointer, use sizeof a pointer. | 2011-05-22 | 1 | -2/+2 | |
| | | | | | | | | Enables show map /f *kernel_map to succeed without nullpointer errors on 64-bit archs. ok miod@ | ||||
| * | - use nitems() no binary change on amd64 | 2011-04-05 | 1 | -2/+2 | |
| | | | | | "reads OK" claudio@ | ||||
| * | Allow kernel printfs to go to console if in ddb instead of being redirected | 2011-04-03 | 2 | -3/+6 | |
| | | | | | to xconsole. ok deraadt@ guenther@ | ||||
| * | Get rid of the vm_map field of ddb breakpoints and watchpoints, and do not | 2010-11-27 | 5 | -217/+80 | |
| | | | | | pretend these could work on userland addresses. | ||||
| * | Remove ddb single-step load and store counters. Most platforms do not | 2010-11-27 | 3 | -22/+4 | |
| | | | | | implement them, and they are of questionable usefulness. | ||||
| * | Do not #include <sys/dkstat.h> if you don't need anything from it. | 2010-11-18 | 1 | -2/+1 | |
| | | | | | ok krw@ deraadt@ | ||||
| * | Implement m_print as real ddb command "show mbuf addr" in the way other | 2010-11-05 | 3 | -3/+15 | |
| | | | | | | such commands are implemented. "Ja! You'll need to update ddb.4 as well, of course." miod@ | ||||
| * | stray spaces no code change | 2010-09-08 | 1 | -7/+7 | |
| | | |||||
| * | Correct the links between threads, processes, pgrps, and sessions, | 2010-07-26 | 1 | -4/+5 | |
| | | | | | | | | | | so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots | ||||
| * | <sys/time.b> is for ftime(), which is just in libcompat and not the kernel, | 2010-06-28 | 1 | -2/+1 | |
| | | | | | | so stop including it in kernel .c files. "sure" deraadt@ | ||||
| * | Fallout from the proc.h include cleanup: proc.h must be included before | 2010-05-26 | 1 | -2/+2 | |
| | | | | | | | user.h ok deraadt@ | ||||
| * | A couple #ifdefs were missed when the final name of the DDB_STRUCT | 2010-01-19 | 1 | -3/+3 | |
| | | | | | | | | option was settled on. Fix those last couple so that the new commands are actually accessible. "Oops" miod@ | ||||
| * | Fix `print $registername' on 64 bit platforms. | 2009-11-21 | 1 | -5/+5 | |
| | | |||||
| * | dd 'show all bufs' to show all the buffers in the system | 2009-08-17 | 3 | -5/+19 | |
| | | | | | ok beck@ thib@ | ||||
| * | add ddb functions to be able to show all the nfsnodes in the system | 2009-08-14 | 3 | -8/+26 | |
| | | | | | | | and rewrite the nfsreq code to use pool_walk(). OK beck@, blambert@ | ||||
| * | fix a typo its supposed to be show all vnodes not show all vnodes, | 2009-08-13 | 1 | -2/+2 | |
| | | | | | | ddb does keyword matching so i missed this. spotted by jasper@ | ||||
| * | add a show all vnodes command, use dlg's nice pool_walk() to accomplish | 2009-08-13 | 3 | -6/+19 | |
| | | | | | | | this. ok beck@, dlg@ | ||||
| * | Introduce option DDB_STRUCT. Kernels compiled with this option (except on | 2009-08-09 | 5 | -5/+724 | |
| | | | | | | | | | | a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default. | ||||
| * | two things: | 2009-08-08 | 2 | -2/+13 | |
| | | | | | | | | | 1) fix buffer cache low water mark to allow for extremely low memory machines without dying 2) Add "show bcstats" to ddb to allow for looking at the buffer cache statistics in ddb ok art@ oga@ | ||||
| * | Check db_recover for NULL before longjmp(db_recover) in db_error(), as it can | 2009-07-15 | 1 | -2/+3 | |
| | | | | | | | be NULL on panic. Of course, panic usually never produce enough output to hit db_more(), except when it's cold and we run an automatic traceback; aborting the traceback with `q' would then lead to undefined behaviour. | ||||
| * | Revert bufq's. this is inline with the major midlayer reverts that | 2009-06-17 | 3 | -23/+3 | |
| | | | | | | | have been going on. this appears to bring us back to stable state. lots of testing by oga and ariane and my self. | ||||
| * | add a flexible buffer queue (bufq) api, based on the never used | 2009-06-03 | 3 | -3/+23 | |
| | | | | | | | | | | one by tedu@. It doesn't do anything smart yet, it just uses plain old disksort. we also keep the old method of queueing bufs since some miods have crazy MD drivers that need some love. ok beck@, art@ tested by many on many archs. | ||||
| * | Allow 8 byte writes from ddb (w/q) on 64 bit platforms, just like we allow | 2009-05-30 | 1 | -18/+22 | |
| | | | | | 8 byte reads (x/q) already. | ||||
| * | Let this compile on landisk (and other configs) by wrapping the nfs | 2009-01-20 | 1 | -1/+7 | |
| | | | | | | | debug stuff inside #ifdef NFSCLIENT. prompted by todd, miod | ||||
| * | Add nfs ddb hooks, for now only to show all the outstanding nfsreq's | 2009-01-18 | 3 | -3/+24 | |
| | | | | | | | | and to print out struct nfsreq. "get it in so people can pound on it" blambert@ OK and information_s_ on the manpage from miod@ | ||||
| * | Add a new sysctl ``ddb.trigger'' | 2008-11-08 | 2 | -3/+19 | |
| | | | | | | | | | Writing to it, will bring the system into the kernel debugger. ddb.console=1 is required and the sysctl command has to be executed from the actual console tty. If the securelevel is < 1, the tty check is ignored. Feedback and OK ckuethe@, deraadt@. | ||||
| * | for MP, ask people to try to trace the other cpus too | 2008-10-26 | 1 | -1/+5 | |
| | | |||||
| * | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
| * | use arc4random_uniform() for random number requests that are not a | 2008-04-18 | 1 | -2/+2 | |
| | | | | | | | | | | power of two. use arc4random_bytes() when requesting more than a word of PRNG output. ok deraadt@ | ||||
| * | show all mounts command for ddb. From mickey a long time ago. | 2008-03-23 | 2 | -2/+18 | |
| | | |||||
| * | Be consistent in db_cmd_loop_done declaration. | 2007-11-14 | 3 | -6/+5 | |
| | | |||||
| * | temporary ddb buffers need to be a bit larger on 64 bit systems to cope with | 2007-11-05 | 4 | -9/+9 | |
| | | | | | some radix configurations. | ||||
| * | Use db_printf instead of printf, to prevent problems with locking | 2007-10-06 | 1 | -4/+4 | |
| | | | | | | | kprintf_mutex in the early stages of booting. ok miod@ (a while ago) | ||||
| * | A few %n/%r/%z format strings were missed, convert these to db_format(). | 2007-09-13 | 3 | -8/+20 | |
| | | |||||
| * | Use db_format() instead of ddb-specific format specifiers; no functional | 2007-09-01 | 2 | -5/+10 | |
| | | | | | | change inteded. ok ray@ | ||||
| * | Ten lines of backtrace should be better on 25-line screens, so that the panic | 2007-06-04 | 1 | -2/+2 | |
| | | | | | message is still visible. | ||||
| * | If it's cold at panic time, attempt to show a small backtrace, there are too | 2007-06-04 | 1 | -1/+11 | |
| | | | | | | many machines where glass console does not work correctly at this stage. By popular demand... | ||||
| * | Disable x/q functionnality on 32bit platforms, because the examination code | 2007-03-15 | 2 | -2/+14 | |
| | | | | | is not supposed to work on values larger than db_expr_t. | ||||
| * | no malloc debug but configured kmemstats allow 'sh mal' to print smth useful; miod@ ok | 2006-09-30 | 1 | -2/+3 | |
| | | |||||
| * | Off-by-one in ``dmesg'' command; it takes a vax to find such bugs. | 2006-08-24 | 1 | -2/+2 | |
| | | |||||
| * | fake structs to let kernels compile on architectures that some german | 2006-07-12 | 1 | -1/+4 | |
| | | | | | | | companies do not use. Mickey, why did you break the tree for us like this, all after not showing the diffs to lots of people? Are you that special that you can get away with this? Do you really want to bet on that, again? | ||||
| * | add mount/vnode/buf and softdep printing commands; tested on a few archs and will make pedro happy too (; | 2006-07-11 | 3 | -3/+57 | |
| | | |||||
| * | only count right guess when had been guessed right; from Leonardo Chiquitto Filho <leonardo@iken.com.br> | 2006-07-07 | 1 | -5/+8 | |
| | | |||||
| * | Make sure we alter ddb variables as ints, not longs; only matters on 64 bit | 2006-07-06 | 2 | -14/+27 | |
| | | | | | platforms. | ||||
| * | Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency. | 2006-07-06 | 3 | -5/+5 | |
| | | |||||
| * | Remove db_check_interrupt() related logic, since it was dummied in practice. | 2006-07-06 | 3 | -50/+4 | |
| | | |||||
| * | ALIGNED_POINTER is defined on all platforms. | 2006-07-06 | 1 | -6/+1 | |
| | | |||||
| * | add show all pools command listing all pools as vmstat -m does; miod@ ok | 2006-05-20 | 2 | -2/+6 | |
| | | |||||
| * | fix comments | 2006-05-16 | 1 | -3/+3 | |
| | | |||||
