Knowledge (XXG)

Kernel debugger

Source 📝

47:
family includes a kernel debugger named KD, which can act as a local debugger with limited capabilities (reading and writing kernel memory, and setting breakpoints) and can attach to a remote machine over a serial line,
77:
include a kernel debugger usable with either an on-screen console or over a serial line. It features various commands to inspect memory, threads, and other kernel structures.
28:
to ease debugging and kernel development by the kernel developers. A kernel debugger might be a stub implementing low-level operations, with a full-blown debugger such as
145: 271: 400:
The ddb debugger provides a means for debugging the kernel, and analysing the kernel after a system crash ("panic"), with a gdb(1)-like syntax.
191: 371:
the built-in low-level kernel debugger, ddb, is part of XNU's Mach component, and so is kdp, a remote kernel debugging protocol implementation
350: 170: 422: 36:
or a network connection, or it might provide a command line that can be used directly on the machine being debugged.
25: 317: 74: 212: 281: 53: 358: 417: 88:; No kernel debugger was included in the mainline Linux tree prior to version 2.6.26-rc1 because 89: 411: 80: 125: 85: 29: 33: 226: 39:
Operating systems and operating system kernels that contain a kernel debugger:
44: 49: 21: 67:
debugger can also be used to debug kernels on local and remote machines.
121: 57: 32:(gdb), running on another machine, sending commands to the stub over a 321: 109: 61: 335: 303: 248: 115: 98: 70: 383: 276: 64: 150:
Debugging Tools for Windows (WinDbg, KD, CDB, NTSD)
124:includes ddb which has a syntax is similar to 92:didn't want a kernel debugger in the kernel. 8: 137: 192:"Live Kernel-Mode Debugging Using KD" 7: 272:"Inside the Linux kernel debugger" 213:"Welcome to Kernel Debugging Land" 14: 320:. 1 January 2016. Archived from 112:(DDB for local, KGDB for remote) 118:- ddb for local, kdp for remote 247:Torvalds, Linus (3 May 2008). 1: 349:Singh, Amit (December 2003). 171:"Local Kernel-Mode Debugging" 270:Nellitheertha, Hariprasad. 439: 388:OpenBSD manual page server 423:Operating system kernels 336:"LWN Weekly Kernel News" 304:"LWN Weekly Kernel News" 146:"Debugging Environments" 26:operating system kernels 318:"MDB Github Website" 306:. 7 September 2008. 249:"Linux 2.6.26-rc1" 104:MDB (local/remote) 390:. 6 December 2019 355:What is Mac OS X? 351:"XNU: The Kernel" 324:on 22 March 2016. 60:connection. The 24:present in some 430: 403: 402: 397: 395: 380: 374: 373: 368: 366: 357:. Archived from 346: 340: 339: 332: 326: 325: 314: 308: 307: 300: 294: 293: 291: 289: 280:. Archived from 267: 261: 260: 258: 256: 244: 238: 237: 235: 233: 223: 217: 216: 209: 203: 202: 200: 198: 188: 182: 181: 179: 177: 167: 161: 160: 158: 156: 142: 438: 437: 433: 432: 431: 429: 428: 427: 408: 407: 406: 393: 391: 382: 381: 377: 364: 362: 348: 347: 343: 338:. 28 June 2010. 334: 333: 329: 316: 315: 311: 302: 301: 297: 287: 285: 284:on 21 June 2008 269: 268: 264: 254: 252: 246: 245: 241: 231: 229: 225: 224: 220: 211: 210: 206: 196: 194: 190: 189: 185: 175: 173: 169: 168: 164: 154: 152: 144: 143: 139: 135: 18:kernel debugger 12: 11: 5: 436: 434: 426: 425: 420: 410: 409: 405: 404: 375: 361:on 2 June 2020 341: 327: 309: 295: 262: 239: 218: 204: 183: 162: 136: 134: 131: 130: 129: 119: 113: 107: 106: 105: 102: 96: 90:Linus Torvalds 83: 78: 68: 13: 10: 9: 6: 4: 3: 2: 435: 424: 421: 419: 416: 415: 413: 401: 389: 385: 379: 376: 372: 360: 356: 352: 345: 342: 337: 331: 328: 323: 319: 313: 310: 305: 299: 296: 283: 279: 278: 273: 266: 263: 250: 243: 240: 228: 222: 219: 214: 208: 205: 193: 187: 184: 172: 166: 163: 151: 147: 141: 138: 132: 127: 123: 120: 117: 114: 111: 108: 103: 100: 97: 94: 93: 91: 87: 84: 82: 81:DragonFly BSD 79: 76: 72: 69: 66: 63: 59: 55: 51: 46: 42: 41: 40: 37: 35: 31: 27: 23: 19: 399: 392:. Retrieved 387: 378: 370: 363:. Retrieved 359:the original 354: 344: 330: 322:the original 312: 298: 286:. Retrieved 282:the original 275: 265: 253:. Retrieved 242: 230:. Retrieved 221: 207: 195:. Retrieved 186: 174:. Retrieved 165: 153:. Retrieved 149: 140: 126:GNU Debugger 86:Linux kernel 52:connection, 38: 30:GNU Debugger 17: 15: 394:13 December 176:16 February 155:16 February 95:KDB (local) 34:serial line 412:Categories 197:16 January 133:References 45:Windows NT 418:Debuggers 227:"LWN.net" 50:IEEE 1394 384:"ddb(4)" 101:(remote) 22:debugger 255:9 March 122:OpenBSD 58:USB 3.0 54:USB 2.0 365:25 May 288:29 May 232:29 May 110:NetBSD 62:WinDbg 251:. LWN 116:macOS 75:Haiku 20:is a 396:2019 367:2012 290:2008 257:2015 234:2008 199:2020 178:2020 157:2020 99:KGDB 73:and 71:BeOS 43:The 277:IBM 65:GUI 56:or 414:: 398:. 386:. 369:. 353:. 274:. 148:. 16:A 292:. 259:. 236:. 215:. 201:. 180:. 159:. 128:.

Index

debugger
operating system kernels
GNU Debugger
serial line
Windows NT
IEEE 1394
USB 2.0
USB 3.0
WinDbg
GUI
BeOS
Haiku
DragonFly BSD
Linux kernel
Linus Torvalds
KGDB
NetBSD
macOS
OpenBSD
GNU Debugger
"Debugging Environments"
"Local Kernel-Mode Debugging"
"Live Kernel-Mode Debugging Using KD"
"Welcome to Kernel Debugging Land"
"LWN.net"
"Linux 2.6.26-rc1"
"Inside the Linux kernel debugger"
IBM
the original
"LWN Weekly Kernel News"

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.