diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-21 14:59:53 +0200 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-08-24 11:17:55 +0800 |
commit | 3a4b64c702d72844c9e58f72e8175e402627f240 (patch) | |
tree | e7d83abf2b3253a66bf80721bc4bdd518ca7bd5d /target/loongarch | |
parent | 3da4004c217148b1662a6fa6a6198b1c5df1adbb (diff) | |
download | qemu-3a4b64c702d72844c9e58f72e8175e402627f240.zip qemu-3a4b64c702d72844c9e58f72e8175e402627f240.tar.gz qemu-3a4b64c702d72844c9e58f72e8175e402627f240.tar.bz2 |
target/loongarch: Remove duplicated disas_set_info assignment
Commit 228021f05e ("target/loongarch: Add core definition") sets
disas_set_info to loongarch_cpu_disas_set_info. Probably due to
a failed git-rebase, commit ca61e75071 ("target/loongarch: Add gdb
support") also sets it to the same value. Remove the duplication.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230821125959.28666-3-philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch')
-rw-r--r-- | target/loongarch/cpu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index 7107968..dc617be 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -723,7 +723,6 @@ static void loongarch_cpu_class_init(ObjectClass *c, void *data) cc->disas_set_info = loongarch_cpu_disas_set_info; cc->gdb_read_register = loongarch_cpu_gdb_read_register; cc->gdb_write_register = loongarch_cpu_gdb_write_register; - cc->disas_set_info = loongarch_cpu_disas_set_info; cc->gdb_num_core_regs = 35; cc->gdb_core_xml_file = "loongarch-base64.xml"; cc->gdb_stop_before_watchpoint = true; |