]>
Commit | Line | Data |
---|---|---|
b9adb4a6 FB |
1 | #ifndef _QEMU_DISAS_H |
2 | #define _QEMU_DISAS_H | |
3 | ||
b9adb4a6 | 4 | /* Disassemble this for me please... (debugging). */ |
95cbfc64 | 5 | void disas(FILE *out, void *code, unsigned long size, int is_host, int flags); |
9307c4c1 | 6 | void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags); |
b9adb4a6 FB |
7 | |
8 | /* Look up symbol for debugging purpose. Returns "" if unknown. */ | |
9 | const char *lookup_symbol(void *orig_addr); | |
10 | ||
11 | /* Filled in by elfload.c. Simplistic, but will do for now. */ | |
e80cfcfc FB |
12 | extern struct syminfo { |
13 | unsigned int disas_num_syms; | |
14 | void *disas_symtab; | |
15 | const char *disas_strtab; | |
16 | struct syminfo *next; | |
17 | } *syminfos; | |
18 | ||
b9adb4a6 | 19 | #endif /* _QEMU_DISAS_H */ |