On Fri, 18 Jul 2008 12:08:47 -0500, Jason Wessel <jason.wessel@windriver.com> wrote:
...
The gcc might inline kgdb_breakpoint() which includes
arch_kgdb_breakpoint(). I got this error with gcc 4.3.1:
CC kernel/kgdb.o
{standard input}: Assembler messages:
{standard input}:809: Error: symbol `breakinst' is already defined
{standard input}:913: Error: symbol `breakinst' is already defined
{standard input}:1233: Error: symbol `breakinst' is already defined
Moving arch_kgdb_breakpoint() into arch/mips/kernel/kgdb.c should
solve the problem.
---
Atsushi Nemoto
--