Fix read only watchpoints on x86_64
authorTamas Berghammer <tberghammer@google.com>
Wed, 12 Aug 2015 12:22:42 +0000 (12:22 +0000)
committerTamas Berghammer <tberghammer@google.com>
Wed, 12 Aug 2015 12:22:42 +0000 (12:22 +0000)
commit40caea63c4fb62b171588d14f510281bf7ed597a
tree4bf17aa38c365f1043a2230a4392e580ec0466e1
parentcf8eb9da4d0e4a7d66e79c1ea6de623d82666496
Fix read only watchpoints on x86_64

On x86/x86_64 read only watchpoints aren't supported. Fall back
to read/write watchpoints in that case.

Note: Logic should be added to ignore the watchpoint hit when
occurred because of a write.

llvm-svn: 244742
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp