[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Better Cortex-M support?
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Better Cortex-M support? |
Date: |
Wed, 29 Oct 2014 16:31:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 10/29/2014 04:18 PM, Liviu Ionescu wrote:
>
> On 29 Oct 2014, at 17:11, Paolo Bonzini <address@hidden> wrote:
>
>> On 10/28/2014 03:40 PM, Peter Maydell wrote:
>>> I think writes via gdb will be treated in the same way as
>>> writes by the CPU (ie interpreted as attempts to program
>>> the flash device). QEMU doesn't support a "debug access"
>>> abstraction.
>>
>> I think they should work right. See cpu_memory_rw_debug.
>
> I'm not sure I can follow you. do you mean there is a recent patch that fixed
> this?
>
> otherwise, according to my tests, when the GDB session is active, the
> semihosting output is no longer displayed in the qemu console.
That's due to usage of the breakpoint instruction, as Peter pointed out.
I mean that writes to ROM or flash via gdb should modify the ROM
directly, unlike writes by the CPU.
Paolo
- Re: [Qemu-devel] Better Cortex-M support?, (continued)
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/28
- Re: [Qemu-devel] Better Cortex-M support?, Peter Maydell, 2014/10/28
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/28
- Re: [Qemu-devel] Better Cortex-M support?, Peter Maydell, 2014/10/28
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Christopher Covington, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Andreas Färber, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Peter Maydell, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Paolo Bonzini, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?,
Paolo Bonzini <=
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Paolo Bonzini, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Peter Maydell, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?, Liviu Ionescu, 2014/10/29