root / disas.h @ 8f40c388
History | View | Annotate | Download (707 Bytes)
1 | b9adb4a6 | bellard | #ifndef _QEMU_DISAS_H
|
---|---|---|---|
2 | b9adb4a6 | bellard | #define _QEMU_DISAS_H
|
3 | b9adb4a6 | bellard | |
4 | b9adb4a6 | bellard | /* Disassemble this for me please... (debugging). */
|
5 | c27004ec | bellard | void disas(FILE *out, void *code, unsigned long size); |
6 | 83b34f8b | bellard | void target_disas(FILE *out, target_ulong code, target_ulong size, int flags); |
7 | 3476562d | bellard | void monitor_disas(CPUState *env,
|
8 | 3476562d | bellard | target_ulong pc, int nb_insn, int is_physical, int flags); |
9 | b9adb4a6 | bellard | |
10 | b9adb4a6 | bellard | /* Look up symbol for debugging purpose. Returns "" if unknown. */
|
11 | c27004ec | bellard | const char *lookup_symbol(target_ulong orig_addr); |
12 | b9adb4a6 | bellard | |
13 | b9adb4a6 | bellard | /* Filled in by elfload.c. Simplistic, but will do for now. */
|
14 | e80cfcfc | bellard | extern struct syminfo { |
15 | e80cfcfc | bellard | unsigned int disas_num_syms; |
16 | e80cfcfc | bellard | void *disas_symtab;
|
17 | e80cfcfc | bellard | const char *disas_strtab; |
18 | e80cfcfc | bellard | struct syminfo *next;
|
19 | e80cfcfc | bellard | } *syminfos; |
20 | e80cfcfc | bellard | |
21 | b9adb4a6 | bellard | #endif /* _QEMU_DISAS_H */ |