]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kgdb: drop duplicate debugger_exception_handler
authorMike Frysinger <vapier@gentoo.org>
Mon, 21 Dec 2009 23:40:43 +0000 (18:40 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 23:23:33 +0000 (00:23 +0100)
The debugger_exception_handler definition is the same for everyone, so use
the common one now.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/74xx_7xx/traps.c
cpu/mpc5xx/traps.c
cpu/mpc5xxx/traps.c
cpu/mpc8220/traps.c
cpu/mpc8260/traps.c
cpu/mpc85xx/traps.c
cpu/mpc86xx/traps.c
cpu/mpc8xx/traps.c
cpu/ppc4xx/traps.c

index b06622769699e66fdc45b36639fb4d9bd9424863..24e28e212a4401952a48b5ac0b50f8bd9a70eadf 100644 (file)
 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);
 
index 78c820ae7e3f2d7eba4a5cf8e961a56a42039e45..cc8e091352836ab74276f45802cfe503e63da756 100644 (file)
 #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
index daa1ec6b58910674408fdc437768bbba38da2d51..2a0915351e7a788b35b0198520bacdda84c6d6e1 100644 (file)
 #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);
 
index 89cca1d2237a5e6fd36075b88b720eab5f69e16d..f98d40f008742bdbbd8352b8cb04e454613131e8 100644 (file)
 #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);
 
index 6624544eac09392b15ff2d921d58457267c52121..f9f4dea9392da1fcfa927a410b2d8506b2462734 100644 (file)
 #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);
 
index 9d16b9b55e7b058bd244791c06d1fc509da25a77..241ebd5657c7b852b21e12131935a995615d7093 100644 (file)
 
 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);
 
index 13f386ddc847e7145957d0ba73f142f4bb99cbdf..ad005c3afe663972205a95856f23651da0c8cb54 100644 (file)
 
 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);
 
index e1ec88961ab61bafda75a75fcc1aedc2888eaa42..f357c8d6bfbe66e0ad0189f5cce65cff149f2401 100644 (file)
 #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
index 55154b6f0110c262fb264a4e2bcfda7387f0174e..cb35faf081414d30526c74b3458ba0c93abda684 100644 (file)
 
 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);