FreeBSD on xen hvm

Kip Macy kip.macy at gmail.com
Mon Aug 27 00:08:03 PDT 2007


On 8/26/07, Andrew Turner <andrew at fubar.geek.nz> wrote:
> On Sat, 25 Aug 2007 10:41:09 -0700
> "Kip Macy" <kip.macy at gmail.com> wrote:
>
> > Have you tried gdbserver?
> >
> >    -Kip
> I've got the Xen gdbserver running and I've patched kgdb to attach via
> tcp. I'm currently working on getting a copy of kgdb that can accept
> the amd64 registers gdbserver sends. My understanding id kgdb detects
> the architecture from the kernel file. In this case it will be wrong as
> the kernel is i386 but the arch is amd64.

Regular GDB works and is easy enough to cross-build - I actually never
used kgdb with gdbserver. The only thing that will go wrong is that it
will not correctly parse trapframes.

 -Kip


More information about the freebsd-current mailing list