| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ddb.4,v 1.140 2010/06/09 02:48:52 mrg Exp $ | | 1 | .\" $NetBSD: ddb.4,v 1.141 2010/06/10 18:34:21 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Luke Mewburn | | 7 | .\" by Luke Mewburn |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -46,27 +46,27 @@ | | | @@ -46,27 +46,27 @@ |
46 | .\" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR | | 46 | .\" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR |
47 | .\" ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. | | 47 | .\" ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. |
48 | .\" | | 48 | .\" |
49 | .\" Carnegie Mellon requests users of this software to return to | | 49 | .\" Carnegie Mellon requests users of this software to return to |
50 | .\" | | 50 | .\" |
51 | .\" Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU | | 51 | .\" Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU |
52 | .\" School of Computer Science | | 52 | .\" School of Computer Science |
53 | .\" Carnegie Mellon University | | 53 | .\" Carnegie Mellon University |
54 | .\" Pittsburgh PA 15213-3890 | | 54 | .\" Pittsburgh PA 15213-3890 |
55 | .\" | | 55 | .\" |
56 | .\" any improvements or extensions that they make and grant Carnegie Mellon | | 56 | .\" any improvements or extensions that they make and grant Carnegie Mellon |
57 | .\" the rights to redistribute these changes. | | 57 | .\" the rights to redistribute these changes. |
58 | .\" | | 58 | .\" |
59 | .Dd March 2, 2010 | | 59 | .Dd June 9, 2010 |
60 | .Dt DDB 4 | | 60 | .Dt DDB 4 |
61 | .Os | | 61 | .Os |
62 | .Sh NAME | | 62 | .Sh NAME |
63 | .Nm ddb | | 63 | .Nm ddb |
64 | .Nd in-kernel debugger | | 64 | .Nd in-kernel debugger |
65 | .Sh SYNOPSIS | | 65 | .Sh SYNOPSIS |
66 | .Cd options DDB | | 66 | .Cd options DDB |
67 | .Pp | | 67 | .Pp |
68 | To enable history editing: | | 68 | To enable history editing: |
69 | .Cd options DDB_HISTORY_SIZE=integer | | 69 | .Cd options DDB_HISTORY_SIZE=integer |
70 | .Pp | | 70 | .Pp |
71 | To disable entering | | 71 | To disable entering |
72 | .\" XXX: hack; .Nm automatically introduces newline in SYNOPSIS | | 72 | .\" XXX: hack; .Nm automatically introduces newline in SYNOPSIS |
| @@ -912,27 +912,27 @@ into the | | | @@ -912,27 +912,27 @@ into the |
912 | kernel for any given port can also add machine specific commands | | 912 | kernel for any given port can also add machine specific commands |
913 | to the | | 913 | to the |
914 | .Nm | | 914 | .Nm |
915 | command parser. | | 915 | command parser. |
916 | All of these commands are preceded by the command word | | 916 | All of these commands are preceded by the command word |
917 | .Em machine | | 917 | .Em machine |
918 | to indicate that they are part of the machine-specific command | | 918 | to indicate that they are part of the machine-specific command |
919 | set (e.g. | | 919 | set (e.g. |
920 | .Ic machine reboot ) . | | 920 | .Ic machine reboot ) . |
921 | Some of these commands are: | | 921 | Some of these commands are: |
922 | .Ss ACORN26 | | 922 | .Ss ACORN26 |
923 | .Bl -tag -width "traptrace" -compact | | 923 | .Bl -tag -width "traptrace" -compact |
924 | .It Ic bsw | | 924 | .It Ic bsw |
925 | Writes a one or two bytes to the IObus. | | 925 | Writes one or two bytes to the IObus. |
926 | Takes an address and a value. | | 926 | Takes an address and a value. |
927 | Use the | | 927 | Use the |
928 | .Dq b | | 928 | .Dq b |
929 | modifier to write a single byte and the | | 929 | modifier to write a single byte and the |
930 | .Dq h | | 930 | .Dq h |
931 | modifier to write two bytes. | | 931 | modifier to write two bytes. |
932 | .It Ic frame | | 932 | .It Ic frame |
933 | Given a trap frame address, print out the trap frame. | | 933 | Given a trap frame address, print out the trap frame. |
934 | .It Ic irqstat | | 934 | .It Ic irqstat |
935 | Display the IRQ statistics | | 935 | Display the IRQ statistics |
936 | .It Ic panic | | 936 | .It Ic panic |
937 | Print the current "panic" string. | | 937 | Print the current "panic" string. |
938 | .El | | 938 | .El |