qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]