In practice, dbg.bpsize was always automatically set to rz_bp_size(core->dbg->bp, core->analysis->bits) whenever the global bits changed. But this breaks as soon as different bits are needed for where the breakpoint is supposed to be set vs. the current value of asm.bits (for example for thumb/arm32). So this removes the global bpsize and always calculates it for the specific breakpoint address. As a sidenote, dbg.bpsize was not even used for manual db (for dcu it was though). |
||
|---|---|---|
| .. | ||
| reg | ||
| linux_coredump.c | ||
| linux_coredump.h | ||
| linux_debug.c | ||
| linux_debug.h | ||
| linux_ptrace.h | ||