Re: KGDB on virt68k?

Chris Hanson <[email protected]> Sun, 26 Apr 2026 13:31:07 -0700
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
On Apr 26, 2026, at 6:56=E2=80=AFAM, Martin Husemann =
<[email protected]> wrote:
>=20
> On Sun, Apr 26, 2026 at 04:47:24AM -0700, Chris Hanson wrote:
>> Anyone have any suggestions for how I should adjust GENERIC.local in =
virt68k for kernel debugging via KGDB?
>>=20
>> I?m cross-building a live image of trunk on macOS and running it =
under QEMU, if that helps.
>=20
> Stupid question: isn't it easier to enable the QEMU built-in gdb =
remote server
> (via qemu's -s arg)?

I figured KGDB would be more appropriate for kernel debugging than =
QEMU=E2=80=99s own gdb remote server, which I=E2=80=99d expect to behave =
more like an in-circuit emulator. I=E2=80=99d be happy to be wrong about =
that though!

  -- Chris