#
198585 |
|
29-Oct-2009 |
jhb |
When extracting the capture buffer from a crashdump, only read the valid 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
|
#
178515 |
|
25-Apr-2008 |
rwatson |
Add "ddb capture print" and "ddb capture status" commands do ddb(8), 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
|