[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Better Cortex-M support?
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] Better Cortex-M support? |
Date: |
Wed, 29 Oct 2014 18:37:03 +0200 |
On 29 Oct 2014, at 17:31, Paolo Bonzini <address@hidden> wrote:
> That's due to usage of the breakpoint instruction, as Peter pointed out.
>> Are we treating the
>> breakpoint as a breakpoint and dropping into gdb
>> rather than treating it as a semihosting call?
my first thought was that the semihosting BRKs go to GDB, but execution does
not stop at these places, the semihosting BRKs seem ignored.
from my tests GDB looks normal, no unexpected breaks.
just that nothing is displayed on the semihosting output.
> I mean that writes to ROM or flash via gdb should modify the ROM
> directly, unlike writes by the CPU.
you may be right, but I don't see the point related to semihosting, in this
case the BRKs are permanent in flash.
but if you understand these implementation details, could you suggest a fix?
you can use the same executable I used for tests
(https://dl.dropboxusercontent.com/u/78151643/minimal.elf), it does a lot of
semihosting tracing.
regards,
Liviu
- Re: [Qemu-devel] Better Cortex-M support?, (continued)
- 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, 2014/10/29
- Re: [Qemu-devel] Better Cortex-M support?,
Liviu Ionescu <=
- 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