All these registers are already provided by via gdbstub parsed XML and handler by the gdb_get_register() helper in the monitor/hmp.c file. Remove as now unreachable code.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/ppc/ppc-qmp-cmds.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/ppc/ppc-qmp-cmds.c b/target/ppc/ppc-qmp-cmds.c index 7022564604f..7dfa78c2e0d 100644 --- a/target/ppc/ppc-qmp-cmds.c +++ b/target/ppc/ppc-qmp-cmds.c @@ -93,16 +93,11 @@ void hmp_info_tlb(Monitor *mon, const QDict *qdict) } const MonitorDef monitor_defs[] = { - { "fpscr", offsetof(CPUPPCState, fpscr) }, /* Next instruction pointer */ - { "nip|pc", offsetof(CPUPPCState, nip) }, - { "lr", offsetof(CPUPPCState, lr) }, - { "ctr", offsetof(CPUPPCState, ctr) }, { "decr", 0, &monitor_get_decr, }, { "ccr|cr", 0, &monitor_get_ccr, }, /* Machine state register */ { "xer", 0, &monitor_get_xer }, - { "msr", offsetof(CPUPPCState, msr) }, { "tbu", 0, &monitor_get_tbu, }, #if defined(TARGET_PPC64) { "tb", 0, &monitor_get_tbl, }, -- 2.52.0
