Skip to content

Commit

Permalink
Make breakpoints at offset 0 work
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jun 19, 2018
1 parent 122cb39 commit cd16629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/bp/bp_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ R_API void r_bp_restore_one(RBreakpoint *bp, RBreakpointItem *b, bool set) {
* reflect all r_bp stuff in the process using dbg->bp_write or ->breakpoint
*/
R_API int r_bp_restore(RBreakpoint *bp, bool set) {
return r_bp_restore_except (bp, set, 0);
return r_bp_restore_except (bp, set, UT64_MAX);
}

/**
Expand Down

0 comments on commit cd16629

Please sign in to comment.