On Fri, Aug 16, 2013 at 2:59 PM, Andreas Färber <[email protected]> wrote: > Am 12.08.2013 19:22, schrieb Andreas Färber: >> Commit a0e372f0c49ac01faeaeb73a6e8f50e8ac615f34 reorganized the register >> counting for GDB. While it seems correct not to let the total number of >> registers skyrocket in an SMP scenario through a static variable, the >> distinction between total register count and 'g' packet register count >> (last_reg vs. num_g_regs) got lost among the way. >> >> Fix this by introducing CPUState::gdb_num_g_regs and using that in >> gdb_handle_packet(). >> >> Reported-by: Aneesh Kumar K.V <[email protected]> >> Cc: [email protected] (for 1.6) >> Cc: Peter Maydell <[email protected]> >> Cc: Max Filippov <[email protected]> >> Signed-off-by: Andreas Färber <[email protected]> >> --- >> gdbstub.c | 6 ++++-- >> include/qom/cpu.h | 2 ++ >> qom/cpu.c | 2 +- >> 3 files changed, 7 insertions(+), 3 deletions(-) > > Ping! > > Peter, could you verify the ARM FP registers are now as expected? > > Max, could you test xtensa as the special case?
Tested, appears to be good. -- Thanks. -- Max
