2003-04-30 00:41:16 +04:00
|
|
|
#ifndef _QEMU_DISAS_H
|
|
|
|
#define _QEMU_DISAS_H
|
|
|
|
|
|
|
|
/* Disassemble this for me please... (debugging). */
|
2005-01-04 02:35:10 +03:00
|
|
|
void disas(FILE *out, void *code, unsigned long size);
|
|
|
|
void target_disas(FILE *out, target_ulong code, unsigned long size, int flags);
|
2004-04-04 16:57:25 +04:00
|
|
|
void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags);
|
2003-04-30 00:41:16 +04:00
|
|
|
|
|
|
|
/* Look up symbol for debugging purpose. Returns "" if unknown. */
|
2005-01-04 02:35:10 +03:00
|
|
|
const char *lookup_symbol(target_ulong orig_addr);
|
2003-04-30 00:41:16 +04:00
|
|
|
|
|
|
|
/* Filled in by elfload.c. Simplistic, but will do for now. */
|
2004-12-20 02:18:01 +03:00
|
|
|
extern struct syminfo {
|
|
|
|
unsigned int disas_num_syms;
|
|
|
|
void *disas_symtab;
|
|
|
|
const char *disas_strtab;
|
|
|
|
struct syminfo *next;
|
|
|
|
} *syminfos;
|
|
|
|
|
2003-04-30 00:41:16 +04:00
|
|
|
#endif /* _QEMU_DISAS_H */
|