aboutsummaryrefslogtreecommitdiff
path: root/configs/targets
diff options
context:
space:
mode:
authorJiajie Chen <c@jia.je>2023-08-21 14:59:59 +0200
committerSong Gao <gaosong@loongson.cn>2023-08-24 11:17:56 +0800
commitebda3036e18b84d3e4280f05ac71ad462593e8ac (patch)
treefc950f0bec2b4346898d2fa3bce46e4f1c6faa0a /configs/targets
parent6cbba3e9eb3e55353f23cbd567e508d01b7677e0 (diff)
target/loongarch: Add GDB support for loongarch32 mode
GPRs and PC are 32-bit wide in loongarch32 mode. Signed-off-by: Jiajie Chen <c@jia.je> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-ID: <20230817093121.1053890-4-gaosong@loongson.cn> [PMD: Rebased, set gdb_num_core_regs] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230821125959.28666-9-philmd@linaro.org>
Diffstat (limited to 'configs/targets')
-rw-r--r--configs/targets/loongarch64-softmmu.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/targets/loongarch64-softmmu.mak b/configs/targets/loongarch64-softmmu.mak
index 9abc99056f..f23780fdd8 100644
--- a/configs/targets/loongarch64-softmmu.mak
+++ b/configs/targets/loongarch64-softmmu.mak
@@ -1,5 +1,5 @@
TARGET_ARCH=loongarch64
TARGET_BASE_ARCH=loongarch
TARGET_SUPPORTS_MTTCG=y
-TARGET_XML_FILES= gdb-xml/loongarch-base64.xml gdb-xml/loongarch-fpu.xml
+TARGET_XML_FILES= gdb-xml/loongarch-base32.xml gdb-xml/loongarch-base64.xml gdb-xml/loongarch-fpu.xml
TARGET_NEED_FDT=y