svn commit: r354353 - in stable/12: sbin/ddb share/man/man4

Andriy Gapon avg at FreeBSD.org
Tue Nov 5 07:06:46 UTC 2019


Author: avg
Date: Tue Nov  5 07:06:45 2019
New Revision: 354353
URL: https://svnweb.freebsd.org/changeset/base/354353

Log:
  MFC r353726: ddb: use 'textdump dump' instead of 'call doadump'
  
  The change is for the example in textdump.4 and the default ddb.conf.

Modified:
  stable/12/sbin/ddb/ddb.conf
  stable/12/share/man/man4/textdump.4
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/ddb/ddb.conf
==============================================================================
--- stable/12/sbin/ddb/ddb.conf	Tue Nov  5 07:02:35 2019	(r354352)
+++ stable/12/sbin/ddb/ddb.conf	Tue Nov  5 07:06:45 2019	(r354353)
@@ -9,7 +9,7 @@
 script lockinfo=show locks; show alllocks; show lockedvnods
 
 # kdb.enter.panic	panic(9) was called.
-script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
+script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; textdump dump; reset
 
 # kdb.enter.witness	witness(4) detected a locking error.
 script kdb.enter.witness=run lockinfo

Modified: stable/12/share/man/man4/textdump.4
==============================================================================
--- stable/12/share/man/man4/textdump.4	Tue Nov  5 07:02:35 2019	(r354352)
+++ stable/12/share/man/man4/textdump.4	Tue Nov  5 07:06:45 2019	(r354353)
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 24, 2008
+.Dd October 18, 2019
 .Dt TEXTDUMP 4
 .Os
 .Sh NAME
@@ -162,7 +162,7 @@ invoke panic in order to force a kernel dump to be wri
 reboot:
 .Bd -literal -offset indent
 script kdb.enter.panic=textdump set; capture on; show allpcpu; bt;
-  ps; alltrace; show alllocks; call doadump; reset
+  ps; alltrace; show alllocks; textdump dump; reset
 .Ed
 .Pp
 In the following example, the script


More information about the svn-src-all mailing list