[Patch 1/6] Add HARDWARE_WATCHPOINTS configure option.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Daney
Date: Monday, April 21, 2008 - 5:01 pm

This first patch just adds the HARDWARE_WATCHPOINTS option to the
'Kernel type' menu.  If N, the watch register support is disabled.

Signed-off-by: David Daney <ddaney@avtrex.com>
---
 arch/mips/Kconfig |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8724ed3..98f46f6 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1622,6 +1622,13 @@ config CPU_HAS_SMARTMIPS
 	  you don't know you probably don't have SmartMIPS and should say N
 	  here.
 
+config HARDWARE_WATCHPOINTS
+	bool "Debugger support for hardware watchpoints"
+	depends on (CPU_MIPS32 || CPU_MIPS64)
+	help
+	  Saying yes here allows you to utilize the hardware watchpoint
+	  registers.  Most people should say Y here.
+
 config CPU_HAS_WB
 	bool
 
-- 
1.5.5

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch 0/6] MIPS Hardware watchpoint support for gdb., David Daney, (Mon Apr 21, 4:20 pm)
[Patch 1/6] Add HARDWARE_WATCHPOINTS configure option., David Daney, (Mon Apr 21, 5:01 pm)
[Patch 6/6] Ptrace support for HARDWARE_WATCHPOINTS., David Daney, (Mon Apr 21, 5:40 pm)
Re: [Patch 6/6] Ptrace support for HARDWARE_WATCHPOINTS., Daniel Jacobowitz, (Tue Apr 22, 9:23 am)
Re: [Patch 6/6] Ptrace support for HARDWARE_WATCHPOINTS., Maciej W. Rozycki, (Tue Apr 22, 11:26 am)