Re: Any successful story of debugging linux 4.13 with qemu 2.10 and gdb 8.01?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





2017-09-21 9:21 GMT+02:00 Greg KH <greg@xxxxxxxxx>:

Why do you think that it requires developers to use a debugger and qemu
to test their code?  I've never used a debugger on the kernel in all of
my years of kernel development...


I imagined that, at least in early development phases, developers can benefit
from the use of a debugger, but it seems that I was wrong. Of course, for
newbies like me, a debugger is essential to understand flow and relations
between kernel code, and I'm happy that this solution is already in the
documentation (unfortunately, not for the version I was using, 4.13). Maybe the
patch pointed out by Saket can be backported to releases which have the
possibility to enable KALSR, such as 4.9 (LTS) and 4.13 itself (stable)?

[1] https://www.kernel.org/doc/html/v4.13/dev-tools/gdb-kernel-debugging.html

JJD


--
Stay open, be free.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux