[PATCH for-10.1 2/9] gdbstub: Allow gdb_core_xml_file to be set at runtime

2025-03-17 Thread Peter Maydell
Currently the CPUClass:gdb_core_xml_file setting is a simple 'const char *' which the CPU class must set to a fixed string. Allow the CPU class to instead set a new method gdb_get_core_xml_file() which returns this string. This will allow Arm CPUs to use different XML files for AArch32 vs AArch64

Re: [PATCH for-10.1 2/9] gdbstub: Allow gdb_core_xml_file to be set at runtime

2025-03-17 Thread Alex Bennée
Peter Maydell writes: > Currently the CPUClass:gdb_core_xml_file setting is a simple 'const > char *' which the CPU class must set to a fixed string. Allow the > CPU class to instead set a new method gdb_get_core_xml_file() which > returns this string. > > This will allow Arm CPUs to use differe