summaryrefslogtreecommitdiffstats
path: root/sbin/ddb
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies after r291406 added libelf to libkvm.bdrewery2015-12-011-0/+1
| | | | | | | | Unfortunately filemon/meta mode tracks all indirect dependencies here since ld(1) is reading libelf when linking in libkvm. Churn would be reduced if this was able to be limited to direct dependencies. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| *-. Sync from headsjg2012-11-041-1/+1
| |\ \
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | |/ | |/| | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Convert sbin/ to LIBADDbapt2014-11-251-2/+1
| |/ |/| | | | | Reduce overlinking
* | remove duplicate semicolons where possible.eadler2012-10-221-1/+1
|/ | | | | Approved by: cperciva MFC after: 1 week
* 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