Subject: Re: kgdb on 405GP walnut-like board.

From: Matt Porter <[email-masked]>
Date: Wed, 3 Nov 2004 06:56:45 -0700

On Wed, Nov 03, 2004 at 12:41:40PM +0300, Vladimir wrote:
> Hello All !
> When I'm trying to compile linux-2.6.8.1 kernel on ppc with kgdb support it 
> fails with the following error:
> 
> arch/ppc/kernel/ppc-stub.c:796: structure has no member named `dbcr0'
> 
> Can I just replace regs->dbcr0 with current->thread.dbcr0. Is it sufficient ?
> Has this issue already been fixed by someone ?

No, it's not sufficient.  It helps to check the archives first.

http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/000417.html
http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/000418.html

These are now in the 2.6 mainline (BK current).

-Matt