Re: KGDB on virt68k?

Chris Hanson <[email protected]> Sat, 2 May 2026 16:21:06 -0700
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
On May 2, 2026, at 7:40=E2=80=AFAM, Jason Thorpe <[email protected]> wrote:
>=20
>> 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.
>=20
> 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.

Ah, I was just following the pattern used for the timers, where it just =
passes one record to represent the two=E2=80=A6

  -- Chris