Merge "watchpoint_imprecise test: set 4-byte watchpoints on 32-bit arches"

This commit is contained in:
Treehugger Robot 2017-04-27 00:42:14 +00:00 committed by Gerrit Code Review
commit 9cc08e0a1f

View file

@ -266,7 +266,7 @@ TEST(sys_ptrace, watchpoint_imprecise) {
ASSERT_EQ(0, sigaction(SIGALRM, &action, &oldaction)) << strerror(errno);
alarm(5);
run_watchpoint_test<Uint128_t>(watchpoint_imprecise_child, 8, 8);
run_watchpoint_test<Uint128_t>(watchpoint_imprecise_child, 8, sizeof(void*));
ASSERT_EQ(0, sigaction(SIGALRM, &oldaction, nullptr)) << strerror(errno);
}