summaryrefslogtreecommitdiffstats
path: root/sbin/ddb
Commit message (Collapse)AuthorAgeFilesLines
* Correct subcommand name 'unset' -> 'unscript'.pjd2011-06-181-1/+1
|
* Plug an fd leakkevlo2010-11-221-0/+1
|
* Always assign WARNS using ?=uqs2010-03-021-1/+1
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* Ensure 'kvm' is always initialized. If "-M" was not specified and thejhb2009-11-021-0/+1
| | | | | | | garbage value on the stack was not zero, then 'ddb capture' would try to use the garbage value as a kvm_t pointer. MFC after: 1 week
* When extracting the capture buffer from a crashdump, only read the validjhb2009-10-291-10/+10
| | | | | | | | | | portion of the capture buffer (db_capture_bufoff vs db_capture_bufsize). This could result in outputting garbage (e.g. lots of 'p' characters if DIAGNOSTIC is enabled) after the end of the capture buffer. While here, fix a spelling nit. Reported by: Mikolaj Golub to my trociny of gmail MFC after: 3 days
* Apply various fixes:trhodes2008-12-241-3/+4
| | | | | | | | | Silence mdoc(7) warnings; Xref correct manual pages; Point user to the ddb.8 manual page. PR: 129398 Submitted by: gavin
* DDB scripting, textdumps, output capture, etc, all will appear inrwatson2008-08-031-1/+1
| | | | | | | FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein <uspoerlein at gmail dot com> MFC after: 3 days
* Add "ddb capture print" and "ddb capture status" commands do ddb(8),rwatson2008-04-255-5/+297
| | | | | | | | | | | | | | alowing the DDB output capture buffer to be easily extracted from user space. Both of these commands include -M/-N arguments, allowing them to be used with kernel crash dumps (or /dev/mem). This makes it easier to use DDB scripting and output capture with minidumps or full dumps rather than with text dumps, allowing DDB output (scripted or otherwise) to be easily extracted from a crash dump. MFC after: 1 week Discussed with: brooks, jhb
* - Normalize usage(), add "ddb pathname" syntax.ru2008-04-042-25/+28
| | | | - Revise the manpage.
* Add the ability to read a file of commands to ddb(8) modeled after thebrooks2008-03-052-5/+81
| | | | feature in ipfw(8).
* Minor formatting tweaks.rwatson2007-12-261-3/+10
| | | | | | Point at ddb(4) and textdump(4) man pages for more script examples. MFC after: 3 months
* Add command-line tool ddb(8), which allows DDB(4) scripts to berwatson2007-12-265-0/+378
managed from userspace. It is largely a wrapper for sysctl() calls, but because the sysctls for adding and removing scripts are awkward to use directly, this provides an easier-to-use interface. MFC after: 3 months
OpenPOWER on IntegriCloud