[U-Boot] kgdb: drop duplicate debugger_exception_handler

Wolfgang Denk wd at denx.de
Mon Feb 8 20:43:02 CET 2010


Dear Mike,

it seems your commit cbb0cab1d929839d1cf170b54b1fef05896433ea:

Author: Mike Frysinger <vapier at gentoo.org>
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 <vapier at gentoo.org>

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.


More information about the U-Boot mailing list