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

Paul Mackerras
2005-11-11T00:55:28Z

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.