kgdb debug with ttyUSB0 instead of ttyS0

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Tue Apr 25 18:02:53 EDT 2017


>
> echo ttyUSB0 > /sys/module/kgdboc/parameters/kgdboc
>
> but only got:
>
> echo write error: No such device
>

Is the USB-to-serial device detected on your target? Do you see a ttyUSB0
device node on your target? You can look at the kernel logs on your target
when you insert the device. If the kernel has the drivers for it, you
should see a device node being created.

-mandeep



>
> if I try:
>
> echo ttyS0 > /sys/module/kgdboc/parameters/kgdboc
>
> is not complaining. Some ideas why ttyUSB0 can't be used with kgdb?
>
> Best regards,
>
> Oliver
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170425/b0cebc56/attachment.html 


More information about the Kernelnewbies mailing list