[Lldb-commits] [PATCH] D21516: Allow unaligned byte/word selection watchpoints for arm- linux/android targets.

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 19 21:50:36 PDT 2016


omjavaid created this revision.
omjavaid added reviewers: labath, clayborg.
omjavaid added a subscriber: lldb-commits.
Herald added subscribers: danalbert, tberghammer, rengolin, aemerson.

We recently committed a patch for AArch64 targets that allows us to watch any byte address individually in a 8 byte aligned region.

This patch implements the same for arm targets with region being watched is a 4 byte region.

We cannot watch 8 consecutive bytes using a single watchpoint resource on Arm targets so maximum we can do is 4 bytes.

As a results TestWatchpointSize tests pass on arm targets which were previously failing.

http://reviews.llvm.org/D21516

Files:
  source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
  source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21516.61234.patch
Type: text/x-patch
Size: 4975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160620/b10df2bb/attachment.bin>


More information about the lldb-commits mailing list