diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-05-20 20:44:12 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-05-22 00:37:24 -0400 |
commit | 6749ef0b8b1f8aa72cc93c874edef39f4c0533ba (patch) | |
tree | 117bf154f5c9026a3a0432c2b0de104e230ff37e /Documentation | |
parent | 933b90a9881df8c09e71df1c54b3c7754341b559 (diff) |
Revert "powerpc/hw-breakpoint: Use generic hw-breakpoint interfaces for new PPC ptrace flags"
This reverts commit 1b788400bbcbfe25280dc0b8000d2142bfe3be3b.
It causes oopses when passed incorrect arguments and has a
design fault using IPIs with interrupts disabled.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/powerpc/ptrace.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Documentation/powerpc/ptrace.txt b/Documentation/powerpc/ptrace.txt index f2a7a3919772..f4a5499b7bc6 100644 --- a/Documentation/powerpc/ptrace.txt +++ b/Documentation/powerpc/ptrace.txt | |||
@@ -127,22 +127,6 @@ Some examples of using the structure to: | |||
127 | p.addr2 = (uint64_t) end_range; | 127 | p.addr2 = (uint64_t) end_range; |
128 | p.condition_value = 0; | 128 | p.condition_value = 0; |
129 | 129 | ||
130 | - set a watchpoint in server processors (BookS) | ||
131 | |||
132 | p.version = 1; | ||
133 | p.trigger_type = PPC_BREAKPOINT_TRIGGER_RW; | ||
134 | p.addr_mode = PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE; | ||
135 | or | ||
136 | p.addr_mode = PPC_BREAKPOINT_MODE_EXACT; | ||
137 | |||
138 | p.condition_mode = PPC_BREAKPOINT_CONDITION_NONE; | ||
139 | p.addr = (uint64_t) begin_range; | ||
140 | /* For PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE addr2 needs to be specified, where | ||
141 | * addr2 - addr <= 8 Bytes. | ||
142 | */ | ||
143 | p.addr2 = (uint64_t) end_range; | ||
144 | p.condition_value = 0; | ||
145 | |||
146 | 3. PTRACE_DELHWDEBUG | 130 | 3. PTRACE_DELHWDEBUG |
147 | 131 | ||
148 | Takes an integer which identifies an existing breakpoint or watchpoint | 132 | Takes an integer which identifies an existing breakpoint or watchpoint |