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.
Nguồn: https://ftlinuxcourse.com
Xem thêm bài viết khác: https://ftlinuxcourse.com/lap-trinh-linux
Xem thêm Bài Viết:
- Trải nghiệm mới hay ho với hướng dẫn cài Mac Os trên vmware
- Bật mí cách cài đặt ssl miễn phí lên Let’s Encrypt
- Tuyệt chiêu tạo usb boot kali linux đơn giản dành cho bạn
- Hướng dẫn chi tiết từ A – Z các bước cài đặt Python trên Windows 10
- Bật mí quy trình cài đặt Kali Linux trên Vmware đúng chuẩn và chi tiết