Home
last modified time | relevance | path

Searched refs:dreg_state (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dsys_ptrace_test.cpp86 user_hwdebug_state dreg_state; in check_hw_feature_supported()
88 iov.iov_base = &dreg_state; in check_hw_feature_supported()
89 iov.iov_len = sizeof(dreg_state); in check_hw_feature_supported()
96 } else if ((dreg_state.dbg_info & 0xff) == 0) { in check_hw_feature_supported()
122 user_hwdebug_state dreg_state; in set_watchpoint() local
123 memset(&dreg_state, 0, sizeof dreg_state); in set_watchpoint()
124 dreg_state.dbg_regs[0].addr = address; in set_watchpoint()
125 dreg_state.dbg_regs[0].ctrl = control; in set_watchpoint()
128 iov.iov_base = &dreg_state; in set_watchpoint()
129 iov.iov_len = offsetof(user_hwdebug_state, dbg_regs) + sizeof(dreg_state.dbg_regs[0]); in set_watchpoint()
[all …]