[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/arm: gdbstub: Guard M-profile code with CONFIG_TCG
From: |
Peter Maydell |
Subject: |
Re: [PATCH] target/arm: gdbstub: Guard M-profile code with CONFIG_TCG |
Date: |
Tue, 4 Jul 2023 14:15:26 +0100 |
On Wed, 28 Jun 2023 at 17:48, Fabiano Rosas <farosas@suse.de> wrote:
>
> This code is only relevant when TCG is present in the build. Building
> with --disable-tcg --enable-xen on an x86 host we get:
>
> $ ../configure --target-list=x86_64-softmmu,aarch64-softmmu --disable-tcg
> --enable-xen
> $ make -j$(nproc)
> ...
> libqemu-aarch64-softmmu.fa.p/target_arm_gdbstub.c.o: in function
> `m_sysreg_ptr':
> ../target/arm/gdbstub.c:358: undefined reference to `arm_v7m_get_sp_ptr'
> ../target/arm/gdbstub.c:361: undefined reference to `arm_v7m_get_sp_ptr'
>
> libqemu-aarch64-softmmu.fa.p/target_arm_gdbstub.c.o: in function
> `arm_gdb_get_m_systemreg':
> ../target/arm/gdbstub.c:405: undefined reference to `arm_v7m_mrs_control'
>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Applied to target-arm.next, thanks.
-- PMM
- Re: [PATCH] target/arm: gdbstub: Guard M-profile code with CONFIG_TCG,
Peter Maydell <=