Re: 2.6.23-rc6-mm1 powerpc - kgdb is broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am not exactly sure how to fix this...

Another git tree is overriding the patch to include/asm-powerpc/kgdb.h
in the -mm tree.   The patches as I provide them against 2.6.23-rc6 for
KGDB work correctly for ppc/powerpc in 32 and 64 bit modes and compile
correctly.

At issue is that someone merged a bogus copy of asm-ppc/kgdb.h from the
git tree in -mm that is called: git-powerpc.patch.

Jason.

Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kgdb seems to be broken on the powerpc, while compiling with
> allyesconfig.
>
>   LD [M]  drivers/isdn/hysdn/hysdn.o
>   CC [M]  drivers/net/kgdboe.o
>   CC [M]  drivers/scsi/scsi_wait_scan.o
> In file included from include/linux/kgdb.h:22,
>                  from drivers/net/kgdboe.c:28:
> include/asm/kgdb.h:34: error: 'debugger' redeclared as different kind of symbol
> include/asm/system.h:85: error: previous definition of 'debugger' was here
> include/asm/kgdb.h:35: error: 'debugger_bpt' redeclared as different kind of symbol
> include/asm/system.h:87: error: previous definition of 'debugger_bpt' was here
> include/asm/kgdb.h:36: error: 'debugger_sstep' redeclared as different kind of symbol
> include/asm/system.h:88: error: previous definition of 'debugger_sstep' was here
> include/asm/kgdb.h:37: error: 'debugger_iabr_match' redeclared as different kind of symbol
> include/asm/system.h:89: error: previous definition of 'debugger_iabr_match' was here
> include/asm/kgdb.h:38: error: 'debugger_dabr_match' redeclared as different kind of symbol
> include/asm/system.h:90: error: previous definition of 'debugger_dabr_match' was here
> include/asm/kgdb.h:39: error: 'debugger_fault_handler' redeclared as different kind of symbol
> include/asm/system.h:91: error: previous definition of 'debugger_fault_handler' was here
> In file included from drivers/net/kgdboe.c:28:
> include/linux/kgdb.h:69: error: 'BREAK_INSTR_SIZE' undeclared here (not in a function)
> make[3]: *** [drivers/net/kgdboe.o] Error 1
> make[2]: *** [drivers/net] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [drivers] Error 2
> make: *** [modules] Error 2
>
>   

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux