Re: KGDB on virt68k?

Jason Thorpe <[email protected]> Sat, 2 May 2026 07:40:08 -0700
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>

> On May 2, 2026, at 12:27=E2=80=AFAM, Chris Hanson =
<[email protected]> wrote:
>=20
> So I built a QEMU with a tweaked hw/m68k/virt.c that provides four =
Goldfish TTYs 0x200 bytes apart, a tweaked NetBSD that expects the same =
(there doesn=E2=80=99t appear to be a way to pass the count or stride of =
the Goldfish TTY devices, only one of which is passed in the Linux =
bootinfo), and then configured the appropriate devices after booting a =
newly-generated live image and that Just Worked.

I think if you tweaked Qemu to pass 4 Goldfish TTY boot info records?  =
NetBSD will attach the first one as the console and it should just =
attach the rest as garden-variety TTYs.

-- thorpej