https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233230

--- Comment #3 from John Baldwin <[email protected]> ---
I think it might be useful to constrain the description of -g a bit.  It only
works for guests that support the 'bvmdebug' driver (which currently only
exists for FreeBSD AFAIK), and similar to 'bmconsole' mostly existed as a
simple device model before bhyve supported UARTs.  A more portable approach to
connect to a gdb stub in a guest OS now is to use a UART to do so (e.g. I wire
up /dev/nmdm<vm>2B to com2 for my guests so that gdb can connect to
/dev/nmdm<vm>2A to connect to a gdb stub on com2 in the guest which potentially
works with multiple OSes).  -G is more like qemu's -g.

I'd be tempted to deprecate bvmconsole and bvmdebug, but I'd defer to Peter on
that.  I realize we'd need to document -G better regardless, but if we want to
move forward with deprecating bvmdebug it might affect the language we use to
describe -g vs -G.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to