| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [Patch 1/6] MIPS: Add HARDWARE_WATCHPOINTS configure option. |
| From: | David Daney <ddaney@avtrex.com> |
| Date: | Wed, 10 Sep 2008 22:37:42 -0700 |
| Cc: | linux-kernel@vger.kernel.org |
| In-reply-to: | <48C8ADEF.9020305@avtrex.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <48C8ADEF.9020305@avtrex.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Add HARDWARE_WATCHPOINTS configure option.
This is automatically set for all MIPS32 and MIPS64 processors.
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 49896a2..7c724ea 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1272,6 +1272,13 @@ config CPU_SUPPORTS_32BIT_KERNEL
config CPU_SUPPORTS_64BIT_KERNEL
bool
+#
+# Set to y for ptrace access to watch registers.
+#
+config HARDWARE_WATCHPOINTS
+ bool
+ default y if CPU_MIPS32 || CPU_MIPS64
+
menu "Kernel type"
choice
--
1.5.5.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Patch 0/6] MIPS: Hardware watch register support for gdb (version 4)., David Daney |
|---|---|
| Next by Date: | [Patch 2/6] MIPS: Add HARDWARE_WATCHPOINTS definitions and support code., David Daney |
| Previous by Thread: | [Patch 0/6] MIPS: Hardware watch register support for gdb (version 4)., David Daney |
| Next by Thread: | [Patch 2/6] MIPS: Add HARDWARE_WATCHPOINTS definitions and support code., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |