diff options
-rw-r--r-- | sbin/ddb/ddb.conf | 2 | ||||
-rw-r--r-- | share/man/man4/textdump.4 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ddb/ddb.conf b/sbin/ddb/ddb.conf index a793705c6585..1246c0effdf4 100644 --- a/sbin/ddb/ddb.conf +++ b/sbin/ddb/ddb.conf @@ -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 diff --git a/share/man/man4/textdump.4 b/share/man/man4/textdump.4 index c3c1dcad300a..9b8f88359a4a 100644 --- a/share/man/man4/textdump.4 +++ b/share/man/man4/textdump.4 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 30, 2018 +.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 written out followed by a 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 |