Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2019 07:06:45 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r354353 - in stable/12: sbin/ddb share/man/man4
Message-ID:  <201911050706.xA576jOS008214@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911050706.xA576jOS008214>