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>
This commit is contained in:
parent
0c909551f8
commit
cbb0cab1d9
@ -40,10 +40,6 @@
|
|||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_KGDB)
|
|
||||||
int (*debugger_exception_handler)(struct pt_regs *) = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Returns 0 if exception not found and fixup otherwise. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
@ -36,10 +36,6 @@
|
|||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_KGDB)
|
|
||||||
int (*debugger_exception_handler)(struct pt_regs *) = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_BEDBUG)
|
#if defined(CONFIG_CMD_BEDBUG)
|
||||||
extern void do_bedbug_breakpoint(struct pt_regs *);
|
extern void do_bedbug_breakpoint(struct pt_regs *);
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table (unsigned long);
|
extern unsigned long search_exception_table (unsigned long);
|
||||||
|
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/m8260_pci.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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
@ -42,10 +42,6 @@
|
|||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
@ -36,10 +36,6 @@
|
|||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
@ -36,10 +36,6 @@
|
|||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_KGDB)
|
|
||||||
int (*debugger_exception_handler)(struct pt_regs *) = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_BEDBUG)
|
#if defined(CONFIG_CMD_BEDBUG)
|
||||||
extern void do_bedbug_breakpoint(struct pt_regs *);
|
extern void do_bedbug_breakpoint(struct pt_regs *);
|
||||||
#endif
|
#endif
|
||||||
|
@ -38,10 +38,6 @@
|
|||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
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. */
|
/* Returns 0 if exception not found and fixup otherwise. */
|
||||||
extern unsigned long search_exception_table(unsigned long);
|
extern unsigned long search_exception_table(unsigned long);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user