OSDN Git Service

watchpoint_imprecise test: set 4-byte watchpoints on 32-bit arches
authorPavel Labath <labath@google.com>
Wed, 26 Apr 2017 10:30:06 +0000 (11:30 +0100)
committerPavel Labath <labath@google.com>
Wed, 26 Apr 2017 10:33:17 +0000 (11:33 +0100)
commit4a6202683a6f61c0d8574c43a0042ea83ba22604
treee201c2a3364ff3b4f79223d27a665da3f99d07e6
parent5deddda68e780aaa26e4777378fee10d543eb719
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.

Change-Id: Ie96b4bc8ce0ad8c924ac737083cf9fe0182aee4d
Test: bionic-unit-tests-static --gtest_filter=sys_ptrace.*
Bug: 37662849
tests/sys_ptrace_test.cpp