Is ddb(4) over a USB-to-Serial port possible?

Rodney W. Grimes freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Fri Nov 24 15:09:28 UTC 2017


> On 11/23/17 23:34, Oliver Pinter wrote:
> > Could we somehow change these after attached device?  Ergo could we setup
> > two USB context, one for normal operation and one for the debugger?
> 
> What you can do is to set the values, then re-enumerate the USB device 
> like this:
> 
> usbconfig -d X.Y reset

It would be absolutely wonderful if someone would add a page to
the handbook near the current page on ddb on how to do ddb
over serial, both uart and usb based.

There is also some very minor discussion of ddb over serial
in the HINTS section of ddb(4) that could include these
nice little tid bits about how to get it working over a
usb device.

Since uarts have all but disappeared for modern PC designs this
is becoming more important.

Thanks,
-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-hackers mailing list