1 .\" Copyright (c) 2004 Marcel Moolenaar
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
18 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
20 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .Op Fl a | Fl f | Fl fullname
41 .Op Fl c Ar core | Fl n Ar dumpnr | Fl r Ar device
42 .Op Ar kernel Op Ar core
43 .Sh DEPRECATION NOTICE
46 is deprecated and will be removed from future versions of the
51 is available from ports or packages
56 utility is a debugger based on
58 that allows debugging of kernel core files.
60 The options are as follows:
61 .Bl -tag -width ".Fl d Ar crashdir"
63 Increase the annotation level.
64 An annotation level of 1 features the historical
68 This is useful when running
75 options are supported for backward compatibility as well.
80 Suppress printing of the banner when the debugger starts.
83 form is supported for compatibility as well.
87 Opens kmem-based targets in read-write mode.
88 (This is identical to what
90 used to do in previous
96 instead of the default,
98 to locate kernel core dump files in.
101 plus the dump number will be appended to determine
102 the actual dump file name.
106 as the core dump file.
108 Use the kernel core dump file numbered
116 to for a remote debugging session.
123 options are mutually exclusive.
125 Optionally, the name of the kernel symbol file and
126 the name of the core dump file can be supplied on the
127 command-line as positional arguments.
128 If no kernel symbol file name has been given, the
129 symbol file of the currently running kernel will be
131 If no core dump file has been specified through either
132 of the options or the last command-line argument,
134 will be opened to allow debugging the currently running
137 .Bl -tag -width ".Pa /var/crash"
139 Default memory image to open if no core dump file
142 Default directory to locate kernel core dump files.
149 utility first appeared in its current form in