I finaly managed to move the target depend code in 'target-*/'. Fabien Chouteau (4): Fix coding style Improve Monitor disas with symbol lookup Refactoring MonitorDef array Add ARM registers definitions for Monitor commands
disas.c | 19 ++- include/monitor/monitor.h | 16 ++ include/qemu/typedefs.h | 1 + include/qom/cpu.h | 3 + monitor.c | 399 +------------------------------------------ target-arm/Makefile.objs | 2 +- target-arm/cpu.c | 5 + target-arm/monitor.c | 40 +++++ target-i386/Makefile.objs | 2 +- target-i386/cpu.c | 6 +- target-i386/monitor.c | 63 +++++++ target-ppc/Makefile.objs | 2 +- target-ppc/monitor.c | 234 +++++++++++++++++++++++++ target-ppc/translate_init.c | 5 + target-sparc/Makefile.objs | 2 +- target-sparc/cpu.c | 5 + target-sparc/monitor.c | 138 +++++++++++++++ 17 files changed, 542 insertions(+), 400 deletions(-) create mode 100644 target-arm/monitor.c create mode 100644 target-i386/monitor.c create mode 100644 target-ppc/monitor.c create mode 100644 target-sparc/monitor.c -- 1.7.9.5