@samitouri / QOSamiQemu / commits / 541870763f

target/i386/gdbstub: Remove stale comment

Since commit ecd6f6a8820 ("gdbstub: Infer number of core registers from XML") gdb_num_core_regs is inferred for the x86 targets. Remove a stale comment. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Tested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Link: https://lore.kernel.org/qemu-devel/20260310232045.58440-5-philmd@linaro.org Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>

Philippe Mathieu-Daudé committed Mar 11, 2026 at 00:20 UTC 541870763fc79f6a26149bb7fb3050216c938498
1 file changed +1 -3
target/i386/gdbstub.c
+1 -3
@@ -39,9 +39,7 @@ static const int gpr_map[CPU_NB_EREGS] = {
39 static const int gpr_map32[8] = { 0, 1, 2, 3, 4, 5, 6, 7 };
40
41 /*
42 - * Keep these in sync with assignment to
43 - * gdb_num_core_regs in target/i386/cpu.c
44 - * and with the machine description
42 + * Keep these in sync with the machine description
43 */
44
45 /*