Lines Matching defs:hw_brk
72 dabr_fake = ((child->thread.hw_brk[0].address & (~HW_BRK_TYPE_DABR)) |
73 (child->thread.hw_brk[0].type & HW_BRK_TYPE_DABR));
91 struct arch_hw_breakpoint hw_brk;
119 hw_brk.address = data & (~HW_BRK_TYPE_DABR);
120 hw_brk.type = (data & HW_BRK_TYPE_DABR) | HW_BRK_TYPE_PRIV_ALL;
121 hw_brk.len = DABR_MAX_LEN;
122 hw_brk.hw_len = DABR_MAX_LEN;
123 set_bp = (data) && (hw_brk.type & HW_BRK_TYPE_RDWR);
135 attr.bp_addr = hw_brk.address;
137 arch_bp_generic_fields(hw_brk.type, &attr.bp_type);
147 thread->hw_brk[0] = hw_brk;
153 attr.bp_addr = hw_brk.address;
155 arch_bp_generic_fields(hw_brk.type,
169 task->thread.hw_brk[0] = hw_brk;
191 if (!thread->hw_brk[i].address)
267 child->thread.hw_brk[i] = brk;
292 if (!(child->thread.hw_brk[data - 1].flags & HW_BRK_FLAG_DISABLED) &&
293 child->thread.hw_brk[data - 1].address == 0)
296 child->thread.hw_brk[data - 1].address = 0;
297 child->thread.hw_brk[data - 1].type = 0;
298 child->thread.hw_brk[data - 1].flags = 0;