Re: [Qemu-devel] [PATCH 1/7] target/openrisc: Fixes for memory debugging

2017-04-19 Thread Stafford Horne
On Tue, Apr 18, 2017 at 08:00:06AM -0700, Richard Henderson wrote: > On 04/18/2017 07:18 AM, Stafford Horne wrote: > > On Tue, Apr 18, 2017 at 12:47:30AM -0700, Richard Henderson wrote: > > > On 04/16/2017 04:23 PM, Stafford Horne wrote: > > > > When debugging in gdb you might want to inspect instr

Re: [Qemu-devel] [PATCH 1/7] target/openrisc: Fixes for memory debugging

2017-04-18 Thread Richard Henderson
On 04/18/2017 07:18 AM, Stafford Horne wrote: On Tue, Apr 18, 2017 at 12:47:30AM -0700, Richard Henderson wrote: On 04/16/2017 04:23 PM, Stafford Horne wrote: When debugging in gdb you might want to inspect instructions in mapped pages or in exception vectors like 0x800 etc. This was previousl

Re: [Qemu-devel] [PATCH 1/7] target/openrisc: Fixes for memory debugging

2017-04-18 Thread Stafford Horne
On Tue, Apr 18, 2017 at 12:47:30AM -0700, Richard Henderson wrote: > On 04/16/2017 04:23 PM, Stafford Horne wrote: > > When debugging in gdb you might want to inspect instructions in mapped > > pages or in exception vectors like 0x800 etc. This was previously not > > possible in qemu since the *ge

Re: [Qemu-devel] [PATCH 1/7] target/openrisc: Fixes for memory debugging

2017-04-18 Thread Richard Henderson
On 04/16/2017 04:23 PM, Stafford Horne wrote: When debugging in gdb you might want to inspect instructions in mapped pages or in exception vectors like 0x800 etc. This was previously not possible in qemu since the *get_phys_page_debug() routine only looked into the data tlb. Change to fall back

[Qemu-devel] [PATCH 1/7] target/openrisc: Fixes for memory debugging

2017-04-16 Thread Stafford Horne
When debugging in gdb you might want to inspect instructions in mapped pages or in exception vectors like 0x800 etc. This was previously not possible in qemu since the *get_phys_page_debug() routine only looked into the data tlb. Change to fall back to look into instruction tlb and plain physical