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@gentoo.org>
master
Mike Frysinger 15 years ago committed by Wolfgang Denk
parent 0c909551f8
commit cbb0cab1d9
  1. 4
      cpu/74xx_7xx/traps.c
  2. 4
      cpu/mpc5xx/traps.c
  3. 4
      cpu/mpc5xxx/traps.c
  4. 4
      cpu/mpc8220/traps.c
  5. 4
      cpu/mpc8260/traps.c
  6. 4
      cpu/mpc85xx/traps.c
  7. 4
      cpu/mpc86xx/traps.c
  8. 4
      cpu/mpc8xx/traps.c
  9. 4
      cpu/ppc4xx/traps.c

@ -40,10 +40,6 @@
DECLARE_GLOBAL_DATA_PTR;
#endif
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

@ -36,10 +36,6 @@
#include <command.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
#if defined(CONFIG_CMD_BEDBUG)
extern void do_bedbug_breakpoint(struct pt_regs *);
#endif

@ -37,10 +37,6 @@
#include <command.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

@ -37,10 +37,6 @@
#include <command.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler) (struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table (unsigned long);

@ -37,10 +37,6 @@
#include <asm/processor.h>
#include <asm/m8260_pci.h>
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

@ -42,10 +42,6 @@
DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

@ -36,10 +36,6 @@
DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

@ -36,10 +36,6 @@
#include <command.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
#if defined(CONFIG_CMD_BEDBUG)
extern void do_bedbug_breakpoint(struct pt_regs *);
#endif

@ -38,10 +38,6 @@
DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_CMD_KGDB)
int (*debugger_exception_handler)(struct pt_regs *) = 0;
#endif
/* Returns 0 if exception not found and fixup otherwise. */
extern unsigned long search_exception_table(unsigned long);

Loading…
Cancel
Save