kgdb debug with ttyUSB0 instead of ttyS0

Oliver Graute oliver.graute at gmail.com
Sat Apr 29 07:51:54 EDT 2017


On 26/04/17, Greg KH wrote:
> Why do you need to use a notebook where Linux works already for kgdb?
> That's traditionally only used to bring up new hardware platforms.

I just used a old notebook as target to learn how-to debug with kgdb.
inspired by the debugging Chapter 4 in the LDD3 Book.
 
> Also, there is USB serial debugging cables as there is a special mode in
> the USB 2 and 3 controllers that can be enabled to handle serial
> messages without interrupts for console/printk early messages that
> people use.  The cables are not cheap to enable this, but worth it if
> you have to debug this type of target system.

can you point us to such a cable?

Best Regards,

Oliver



More information about the Kernelnewbies mailing list