]> git.proxmox.com Git - mirror_qemu.git/commit
target/loongarch: Add GDB support for loongarch32 mode
authorJiajie Chen <c@jia.je>
Mon, 21 Aug 2023 12:59:59 +0000 (14:59 +0200)
committerSong Gao <gaosong@loongson.cn>
Thu, 24 Aug 2023 03:17:56 +0000 (11:17 +0800)
commitebda3036e18b84d3e4280f05ac71ad462593e8ac
treefc950f0bec2b4346898d2fa3bce46e4f1c6faa0a
parent6cbba3e9eb3e55353f23cbd567e508d01b7677e0
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>
configs/targets/loongarch64-softmmu.mak
gdb-xml/loongarch-base32.xml [new file with mode: 0644]
target/loongarch/cpu.c
target/loongarch/gdbstub.c