aboutsummaryrefslogtreecommitdiff
path: root/sbin/ddb/ddb.c
Commit message (Collapse)AuthorAgeFilesLines
* remove duplicate semicolons where possible.Eitan Adler2012-10-221-1/+1
| | | | | | | | Approved by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=241844
* Plug an fd leakKevin Lo2010-11-221-0/+1
| | | | Notes: svn path=/head/; revision=215658
* Add "ddb capture print" and "ddb capture status" commands do ddb(8),Robert Watson2008-04-251-2/+6
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=178515
* - Normalize usage(), add "ddb pathname" syntax.Ruslan Ermilov2008-04-041-5/+5
| | | | | | | - Revise the manpage. Notes: svn path=/head/; revision=177909
* Add the ability to read a file of commands to ddb(8) modeled after theBrooks Davis2008-03-051-5/+67
| | | | | | | feature in ipfw(8). Notes: svn path=/head/; revision=176833
* Add command-line tool ddb(8), which allows DDB(4) scripts to beRobert Watson2007-12-261-0/+67
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 Notes: svn path=/head/; revision=174915