Re: [PATCH v2 2/3] target/riscv: Initialize gdb_core_xml_file only once

2023-10-14 Thread Akihiko Odaki
On 2023/10/15 3:19, Daniel Henrique Barboza wrote: On 10/14/23 00:35, Akihiko Odaki wrote: gdb_core_xml_file was assigned each time a CPU is instantiated before this change. Signed-off-by: Akihiko Odaki ---   target/riscv/cpu.c | 5 +   target/riscv/tcg/tcg-cpu.c | 4   2 file

Re: [PATCH v2 2/3] target/riscv: Initialize gdb_core_xml_file only once

2023-10-14 Thread Daniel Henrique Barboza
On 10/14/23 00:35, Akihiko Odaki wrote: gdb_core_xml_file was assigned each time a CPU is instantiated before this change. Signed-off-by: Akihiko Odaki --- target/riscv/cpu.c | 5 + target/riscv/tcg/tcg-cpu.c | 4 2 files changed, 5 insertions(+), 4 deletions(-) diff --

[PATCH v2 2/3] target/riscv: Initialize gdb_core_xml_file only once

2023-10-13 Thread Akihiko Odaki
gdb_core_xml_file was assigned each time a CPU is instantiated before this change. Signed-off-by: Akihiko Odaki --- target/riscv/cpu.c | 5 + target/riscv/tcg/tcg-cpu.c | 4 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c in