mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
disas: Use translator_st to get disassembly data
Read from already translated pages, or saved mmio data. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c0d691ab84
commit
4c833c60e0
8 changed files with 41 additions and 23 deletions
|
@ -4,14 +4,15 @@
|
|||
/* Disassemble this for me please... (debugging). */
|
||||
#ifdef CONFIG_TCG
|
||||
void disas(FILE *out, const void *code, size_t size);
|
||||
void target_disas(FILE *out, CPUState *cpu, uint64_t code, size_t size);
|
||||
void target_disas(FILE *out, CPUState *cpu, const DisasContextBase *db);
|
||||
#endif
|
||||
|
||||
void monitor_disas(Monitor *mon, CPUState *cpu, uint64_t pc,
|
||||
int nb_insn, bool is_physical);
|
||||
|
||||
#ifdef CONFIG_PLUGIN
|
||||
char *plugin_disas(CPUState *cpu, uint64_t addr, size_t size);
|
||||
char *plugin_disas(CPUState *cpu, const DisasContextBase *db,
|
||||
uint64_t addr, size_t size);
|
||||
#endif
|
||||
|
||||
/* Look up symbol for debugging purpose. Returns "" if unknown. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue