Use full word for `machine ddbcpu` command in ddb.html

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Use full word for `machine ddbcpu` command in ddb.html

Mikolaj Kucharski-3
Hi,

I was following this page in the middle of the night and misread `mach`
as `match` and it took me a while to realize what I am doing wrong. I
think using full word makes it easier to parse and is less likely to
make a mistake.

Index: ddb.html
===================================================================
RCS file: /cvs/www/ddb.html,v
retrieving revision 1.21
diff -u -p -u -r1.21 ddb.html
--- ddb.html 27 May 2019 22:55:19 -0000 1.21
+++ ddb.html 11 Apr 2020 13:12:19 -0000
@@ -42,7 +42,7 @@ When reporting a kernel panic or crash,
     If you are at a
     <samp><a href="https://man.openbsd.org/ddb.4">ddb</a>></samp>
     prompt, type <kbd>trace</kbd>.
-    If you are running SMP, use the <kbd>mach ddbcpu N</kbd> command for each
+    If you are running SMP, use the <kbd>machine ddbcpu N</kbd> command for each
     of the <var>N</var> processors you have and repeat the <kbd>trace</kbd>
     command for each processor.

--
Regards,
 Mikolaj

Reply | Threaded
Open this post in threaded view
|

Re: Use full word for `machine ddbcpu` command in ddb.html

Mikolaj Kucharski-3
Hi,

Would below change be okay?

On Sat, Apr 11, 2020 at 01:18:03PM +0000, Mikolaj Kucharski wrote:

> Hi,
>
> I was following this page in the middle of the night and misread `mach`
> as `match` and it took me a while to realize what I am doing wrong. I
> think using full word makes it easier to parse and is less likely to
> make a mistake.
>
> Index: ddb.html
> ===================================================================
> RCS file: /cvs/www/ddb.html,v
> retrieving revision 1.21
> diff -u -p -u -r1.21 ddb.html
> --- ddb.html 27 May 2019 22:55:19 -0000 1.21
> +++ ddb.html 11 Apr 2020 13:12:19 -0000
> @@ -42,7 +42,7 @@ When reporting a kernel panic or crash,
>      If you are at a
>      <samp><a href="https://man.openbsd.org/ddb.4">ddb</a>></samp>
>      prompt, type <kbd>trace</kbd>.
> -    If you are running SMP, use the <kbd>mach ddbcpu N</kbd> command for each
> +    If you are running SMP, use the <kbd>machine ddbcpu N</kbd> command for each
>      of the <var>N</var> processors you have and repeat the <kbd>trace</kbd>
>      command for each processor.
>

--
Regards,
 Mikolaj