]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/microblaze: Delay gdb_register_coprocessor() to realize
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 14 May 2025 13:29:45 +0000 (14:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 14 May 2025 13:29:45 +0000 (14:29 +0100)
commit6222ae143da0408c7e5b727082975dc394f5a23f
tree278dd4216330201ef3be94bddc238976c258b614
parent9c6675e8a5824f4c41c3d122c4b848a67d9d0350
target/microblaze: Delay gdb_register_coprocessor() to realize

Currently the microblaze code calls gdb_register_coprocessor() in its
initfn.  This works, but we would like to delay setting up GDB
registers until realize.  All other target architectures only call
gdb_register_coprocessor() in realize, after the call to
cpu_exec_realizefn().

Move the microblaze gdb_register_coprocessor() use, bringing it
in line with other targets.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250429132200.605611-3-peter.maydell@linaro.org
target/microblaze/cpu.c