Skip to content

Commit

Permalink
target/loongarch: Remove duplicated disas_set_info assignment
Browse files Browse the repository at this point in the history
Commit 228021f ("target/loongarch: Add core definition") sets
disas_set_info to loongarch_cpu_disas_set_info. Probably due to
a failed git-rebase, commit ca61e75 ("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>
  • Loading branch information
philmd authored and gaosong-loongson committed Aug 24, 2023
1 parent 3da4004 commit 3a4b64c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion target/loongarch/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3a4b64c

Please sign in to comment.