[Bug 26031] New: Ptrace interface unable to set byte select watchpoints on arm-linux

Bug ID 26031
Summary Ptrace interface unable to set byte select watchpoints on arm-linux
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter omair.javaid@linaro.org
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Following tests fail on arm-linux:

TestWatchLocationWithWatchSet.py
TestStepOverWatchpoint.py

Ptrace interface fails to set read/write watchpoints on single byte variables
which are not word aligned.

Following commands fail, in case of TestStepOverWatchpoint:

watchpoint set variable -w read g_watch_me_write

Following commands fail, in case of TestWatchLocationWithWatchSet:

watchpoint set expression -w write -s 1 -- g_char_ptr + 7

Need to do further investigation on how to make sure we can select individual
bytes while setting watchpoints on arm.