On 04/07/2018 04:20 AM, Emilio G. Cota wrote: > + next_page = (ctx->base.pc_first & TARGET_PAGE_MASK) + > TARGET_PAGE_SIZE; > + if (ctx->base.pc_next >= next_page) {
This fails for the last page of the address space. Better is page_start = ctx->base.pc_first & TARGET_PAGE_MASK; if (ctx->base.pc_next - page_start >= TARGET_PAGE_SIZE) { r~