Skip to content

Commit 504fae0

Browse files
committed
Fix debug arg explanation
Closes #369
1 parent ad0c83c commit 504fae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

troubleshooting/kernel-debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Now lets go over what each arg does:
5656
* **keepsyms=1**
5757
* Ensures symbols are kept during kernel panics, which are greatly helpful for troubleshooting
5858
* **debug=0x12a**
59-
* Combination of `DB_KPRT`(0x8), `DB_KDP_BP_DIS`(0x32), `DB_KDP_GETC_ENA(0x200)`
60-
* A full list of values can be found here: [debug.h](https://github.com/apple/darwin-xnu/blob/master/osfmk/kern/debug.h#L419L447)
59+
* Combination of `DB_PRT` (0x2), `DB_KPRT` (0x8), `DB_SLOG` (0x20), and `DB_LOG_PI_SCRN` (0x100)
60+
* A full list of values for the latest version of XNU can be found here: [debug.h](https://github.com/apple-oss-distributions/xnu/blob/master/osfmk/kern/debug.h)
6161
* **msgbuf=1048576**
6262
* Sets the kernel's message buffer size, this helps with getting proper logs during boot
6363
* 1048576 is 1MB(/1024^2), can be larger if required

0 commit comments

Comments
 (0)