On 10/29/2014 04:18 PM, Liviu Ionescu wrote:
> 
> On 29 Oct 2014, at 17:11, Paolo Bonzini <pbonz...@redhat.com> 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