Using Serial kdb / kgdb to Debug the Linux Kernel - Douglas Anderson, Google
17.4 هزار بار بازدید -
5 سال پیش
-
Using Serial kdb / kgdb
Using Serial kdb / kgdb to Debug the Linux Kernel - Douglas Anderson, Google
The Linux kernel has had an in-kernel debugger for many years, but shockingly few people are setup to use it. In this tutorial I will demonstrate how to use kgdb for debugging kernel crashes on systems that have a serial port. As part of this session I will show how to get kgdb setup, how to drop into the debugger, and how to debug several simulated bugs in the kernel.The focus on the session will be on after-the-crash debugging rather than using kgdb to step through code.This session should be useful to developers at all levels from kernel noobs to developers with years under their belts.
The Linux kernel has had an in-kernel debugger for many years, but shockingly few people are setup to use it. In this tutorial I will demonstrate how to use kgdb for debugging kernel crashes on systems that have a serial port. As part of this session I will show how to get kgdb setup, how to drop into the debugger, and how to debug several simulated bugs in the kernel.The focus on the session will be on after-the-crash debugging rather than using kgdb to step through code.This session should be useful to developers at all levels from kernel noobs to developers with years under their belts.
5 سال پیش
در تاریخ 1398/07/09 منتشر شده
است.
17,438
بـار بازدید شده