OSDN Git Service

watchpoint_imprecise test: set 4-byte watchpoints on 32-bit arches
authorPavel Labath <labath@google.com>
Thu, 27 Apr 2017 00:48:38 +0000 (00:48 +0000)
committerPavel Labath <labath@google.com>
Thu, 27 Apr 2017 09:41:21 +0000 (09:41 +0000)
commit6d1193a93c02c66eeea6508435064ce9867a668a
tree945e5cc9bc0fa41b8a196179d7ed1fe16fd1d875
parent15f1db35fa71410356925e6469d1c1a61a4207cb
watchpoint_imprecise test: set 4-byte watchpoints on 32-bit arches

8-byte watchpoints are not supported on 32-bit kernels (at least on x86,
probably arm as well). 8-byte watchpoints are not required for this
test, so just decrease the size of watchpoints on these architectures.

Test: bionic-unit-tests-static --gtest_filter=sys_ptrace.*
Bug: 37662849
Change-Id: I450a78fc1d6b8807fe1c776f5fa62d329788969e
(cherry picked from commit 778c048a8fc1a5485a53f670a587f09e4daf6bae)
tests/sys_ptrace_test.cpp