From a5b44eeb38f7f3bd07bf857a26f1ac6193512df5 Mon Sep 17 00:00:00 2001 From: Bob Liu Date: Fri, 13 Jan 2012 18:34:46 +0800 Subject: [PATCH] blackfin: kgdb: skip hardware watchpoint test blackfin doesn't support hardware watchpoint except for over JTAG emulator. Signed-off-by: Sonic Zhang Signed-off-by: Bob Liu --- arch/blackfin/include/asm/kgdb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/blackfin/include/asm/kgdb.h b/arch/blackfin/include/asm/kgdb.h index aaf884591b07..2703ddeeb5db 100644 --- a/arch/blackfin/include/asm/kgdb.h +++ b/arch/blackfin/include/asm/kgdb.h @@ -109,6 +109,7 @@ static inline void arch_kgdb_breakpoint(void) # define CACHE_FLUSH_IS_SAFE 1 #endif #define GDB_ADJUSTS_BREAK_OFFSET +#define GDB_SKIP_HW_WATCH_TEST #define HW_INST_WATCHPOINT_NUM 6 #define HW_WATCHPOINT_NUM 8 #define TYPE_INST_WATCHPOINT 0