Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1500142
| From | Pratyush Anand <panand@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7 |
| Date | 2016-10-13 12:30 +0200 |
| Message-ID | <srLqW-2eM-23@gated-at.bofh.it> (permalink) |
| References | <srkTL-ql-13@gated-at.bofh.it> <srkTL-ql-25@gated-at.bofh.it> <srpJL-3Ey-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wednesday 12 October 2016 04:46 PM, Yao Qi wrote: > On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand <panand@redhat.com> wrote: >> Since, arm64 can support all offset within a double word limit. Therefore, >> now support other lengths within that range as well. > > How does ptracer (like GDB) detect kernel has already supported all byte > address select values? I suppose ptrace(NT_ARM_HW_WATCH, ) with > len is 3 or 5 fail on current kernel but is of success after your patches > applied. > Thanks for testing these patches. I do not know if we can know that other than the failure of ptrace(PTRACE_SETREGSET, .., NT_ARM_HW_WATCH, ..). I do not see any such option in `man ptrace`. > GDB is aware of the byte address select limitation in kernel, so it always > sets 1,2,4,8 in len in ctrl. GDB needs to know whether the limitation is still > there or not. > Not sure if other than "kernel version" anything will help here. ~Pratyush
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7 Pratyush Anand <panand@redhat.com> - 2016-10-12 08:10 +0200
Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7 Yao Qi <qiyaoltc@gmail.com> - 2016-10-12 13:20 +0200
Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7 Pratyush Anand <panand@redhat.com> - 2016-10-13 12:30 +0200
Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7 Pavel Labath <labath@google.com> - 2016-10-13 16:40 +0200
csiph-web