blackfin: kgdb: skip hardware watchpoint test
authorBob Liu <lliubbo@gmail.com>
Fri, 13 Jan 2012 10:34:46 +0000 (18:34 +0800)
committerBob Liu <lliubbo@gmail.com>
Wed, 21 Mar 2012 03:00:07 +0000 (11:00 +0800)
blackfin doesn't support hardware watchpoint except for over JTAG
emulator.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/include/asm/kgdb.h

index aaf884591b070cfa6246804f3491efac713afcab..2703ddeeb5dba5a8fdcd665637f7fb49ae72d289 100644 (file)
@@ -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