Re: [PATCH v4 1/2] target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug()

2020-07-06 Thread Laurent Vivier
Le 01/07/2020 à 22:15, Mark Cave-Ayland a écrit : > The result of the get_physical_address() function should be combined with the > offset of the original page access before being returned. Otherwise the > m68k_cpu_get_phys_page_debug() function can round to the wrong page causing > incorrect

[PATCH v4 1/2] target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug()

2020-07-01 Thread Mark Cave-Ayland
The result of the get_physical_address() function should be combined with the offset of the original page access before being returned. Otherwise the m68k_cpu_get_phys_page_debug() function can round to the wrong page causing incorrect lookups in gdbstub and various "Disassembler disagrees with