ddb.8 (174925) | ddb.8 (176833) |
---|---|
1.\"- 2.\" Copyright (c) 2007 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2007 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/sbin/ddb/ddb.8 174925 2007-12-26 12:20:19Z rwatson $ | 26.\" $FreeBSD: head/sbin/ddb/ddb.8 176833 2008-03-05 17:51:06Z brooks $ |
27.\" 28.Dd 25 December, 2007 29.Dt DDB 8 30.Os 31.Sh NAME 32.Nm ddb 33.Nd Configure DDB kernel debugger properties 34.Sh SYNOPSIS 35.Nm 36.Cm script 37.Ar scriptname 38.Nm 39.Cm script 40.Ar scriptname=script 41.Nm 42.Cm scripts 43.Nm 44.Cm unscript 45.Ar scriptname | 27.\" 28.Dd 25 December, 2007 29.Dt DDB 8 30.Os 31.Sh NAME 32.Nm ddb 33.Nd Configure DDB kernel debugger properties 34.Sh SYNOPSIS 35.Nm 36.Cm script 37.Ar scriptname 38.Nm 39.Cm script 40.Ar scriptname=script 41.Nm 42.Cm scripts 43.Nm 44.Cm unscript 45.Ar scriptname |
46.Nm 47.Ar pathname |
|
46.Sh DESCRIPTION 47.Nm 48configures certain aspects of the 49.Xr DDB 4 50kernel debugger from user space that are not configured at compile-time or 51easily via 52.Xr sysctl 8 53MIB entries. | 48.Sh DESCRIPTION 49.Nm 50configures certain aspects of the 51.Xr DDB 4 52kernel debugger from user space that are not configured at compile-time or 53easily via 54.Xr sysctl 8 55MIB entries. |
56.Pp 57To ease configuration, commands can be put in a file which is processed using 58.Nm 59as shown in the last synopsis line. 60An absolute 61.Ar pathname 62must be used. 63The file will be read line by line and applied as arguments to the 64.Nm 65utility. 66Whitespace at the beginning of lines will be ignored as will lines where the 67first non-whitespace character is #. |
|
54.Sh SCRIPTING 55.Nm 56can be used to configure aspects of 57.Xr DDB 4 58scripting from user space; scripting support is described in more detail in 59.Xr DDB 4 . 60Each of the debugger commands is available from the command line: 61.Bl -tag -width indent --- 52 unchanged lines hidden --- | 68.Sh SCRIPTING 69.Nm 70can be used to configure aspects of 71.Xr DDB 4 72scripting from user space; scripting support is described in more detail in 73.Xr DDB 4 . 74Each of the debugger commands is available from the command line: 75.Bl -tag -width indent --- 52 unchanged lines hidden --- |