mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
disas: Split disas.c
The routines in disas-common.c are also used from disas-mon.c. Otherwise the rest of disassembly is only used from tcg. While we're at it, put host and target code into separate files. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b67c567b79
commit
c0d691ab84
8 changed files with 382 additions and 340 deletions
|
@ -14,8 +14,12 @@ typedef struct CPUDebug {
|
|||
CPUState *cpu;
|
||||
} CPUDebug;
|
||||
|
||||
void disas_initialize_debug(CPUDebug *s);
|
||||
void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu);
|
||||
int disas_gstring_printf(FILE *stream, const char *fmt, ...)
|
||||
G_GNUC_PRINTF(2, 3);
|
||||
|
||||
int print_insn_od_host(bfd_vma pc, disassemble_info *info);
|
||||
int print_insn_od_target(bfd_vma pc, disassemble_info *info);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue