Re: [PATCH,RFC 2.6.14 11/15] KGDB: ppc64-specific changes

From: Paul Mackerras
Date: Thu Nov 10 2005 - 19:56:00 EST


Tom Rini writes:

> This adds basic KGDB support to ppc64, and support for kgdb8250 on the 'Maple'
> board. All of this was done by Frank Rowand (who is on vacation right now,
> but I'll try and answer for him). This should work on any ppc64 board via
> kgdboe, so long as there is an eth driver that supports netpoll. At the
> moment this is mutually exclusive with XMON. It is probably possible to allow
> them to be chained, but that sounds dangerous to me. This is similar to
> ppc32, but ppc32 does not explicitly test.

We already have infrastructure to allow either xmon or kdb to be used,
and in fact both can be built in and you can select at runtime which
you prefer. See the __debugger stuff in system.h. You should just be
able to hook kgdb into that same infrastructure. We're also planning
to move to using the die_notify stuff for getting all the significant
events to the debugger.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/