.\" Copyright (c) 2017 Ian Sutton $ .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd $Mdocdate: June 10 2017 $ .Dt PUFFCRASH 1 .Os .Sh NAME .Nm puffcrash .Nd OpenBSD kernel debugging assitant .Sh SYNOPSIS .Nm .Op Fl c Ar config .Op Ar serial\ console\ log .Sh DESCRIPTION .Nm reads serial terminal output from OpenBSD machines, listening for kernel panics. When detected (and following 'trace' command is issued to .Xr ddb 4 , puffcrash tries to ascertain the source lines implicated in the crash via .Xr objdump 1 and source tags (usually generated by `make tags`), displaying them if succesful. .Pp .Nm reads from standard input if logfile argument is omitted. .Sh SEE ALSO .Xr ddb 4 .Sh HISTORY .Nm does not appear in .Ox 6.1 currently. .Sh AUTHORS .An -nosplit .Nm was written by .An Ian Sutton Aq Mt ian@ce.gl .