mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-26 07:17:01 +00:00
more grammar role/roll
This commit is contained in:
parent
2ef0e2ca46
commit
dacc49b1bc
@ -134,7 +134,7 @@ R_API void r_debug_diff_set(RDebug *dbg, RDebugSnapDiff *diff) {
|
||||
/* Roll back only latest page, that's been changed after prev_page */
|
||||
if ((last_page = latest->last_changes[page_off]) && !prev_page) {
|
||||
ut64 off = (ut64) last_page->page_off * SNAP_PAGE_SIZE;
|
||||
/* Copy a page data of base snap to current addr. (i.e. role back) */
|
||||
/* Copy a page data of base snap to current addr. (i.e. roll back) */
|
||||
dbg->iob.write_at (dbg->iob.io, addr, snap->data + off, SNAP_PAGE_SIZE);
|
||||
eprintf ("Roll back 0x%08"PFMT64x "(page: %d)\n", addr, page_off);
|
||||
}
|
||||
@ -172,7 +172,7 @@ R_API void r_debug_diff_set_base(RDebug *dbg, RDebugSnap *base) {
|
||||
page_off = (addr - base->addr) / SNAP_PAGE_SIZE;
|
||||
if ((last_page = latest->last_changes[page_off])) {
|
||||
ut64 off = (ut64) last_page->page_off * SNAP_PAGE_SIZE;
|
||||
/* Copy a page data of base snap to current addr. (i.e. role back) */
|
||||
/* Copy a page data of base snap to current addr. (i.e. roll back) */
|
||||
dbg->iob.write_at (dbg->iob.io, addr, base->data + off, SNAP_PAGE_SIZE);
|
||||
eprintf ("Roll back 0x%08"PFMT64x "(page: %d)\n", addr, page_off);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user