From: Wolfgang Denk Date: Mon, 08 Feb 2010 20:43:02 +0100 Subject: [U-Boot] kgdb: drop duplicate debugger_exception_handler Message-ID: <20100208194302.7AF87A87D1A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike, it seems your commit cbb0cab1d929839d1cf170b54b1fef05896433ea: Author: Mike Frysinger Date: Mon Dec 21 18:40:43 2009 -0500 kgdb: drop duplicate debugger_exception_handler The debugger_exception_handler definition is the same for everyone, so use the common one now. Signed-off-by: Mike Frysinger breaks building of MPC8xx based boards that have KGDB support enabled; for example: $ ./MAKEALL RBC823 Configuring for RBC823 board... traps.c: In function 'MachineCheckException': traps.c:126: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c:126: error: (Each undeclared identifier is reported only once traps.c:126: error: for each function it appears in.) traps.c: In function 'AlignmentException': traps.c:159: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c: In function 'ProgramCheckException': traps.c:171: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c: In function 'SoftEmuException': traps.c:183: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c: In function 'UnknownException': traps.c:196: error: 'debugger_exception_handler' undeclared (first use in this function) [Ditto for cogent_mpc8xx] Could you please have a look? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Parkinson's Law: Work expands to fill the time alloted it.