Re: [PATCH 2/3] kgdb, mips: add arch support for the kernel's kgdb core

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Atsushi Nemoto
Date: Thursday, July 24, 2008 - 9:27 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] kgdb 2.6.27 mips, Jason Wessel, (Fri Jul 18, 10:08 am)
Re: [PATCH 2/3] kgdb, mips: add arch support for the kerne ..., Atsushi Nemoto, (Thu Jul 24, 9:27 am)