Line | |
---|
1 | #ifndef _QEMU_DISAS_H |
---|
2 | #define _QEMU_DISAS_H |
---|
3 | |
---|
4 | #ifndef CONFIG_DM |
---|
5 | /* Disassemble this for me please... (debugging). */ |
---|
6 | void disas(FILE *out, void *code, unsigned long size); |
---|
7 | void target_disas(FILE *out, target_ulong code, target_ulong size, int flags); |
---|
8 | void monitor_disas(CPUState *env, |
---|
9 | target_ulong pc, int nb_insn, int is_physical, int flags); |
---|
10 | |
---|
11 | /* Look up symbol for debugging purpose. Returns "" if unknown. */ |
---|
12 | const char *lookup_symbol(target_ulong orig_addr); |
---|
13 | |
---|
14 | /* Filled in by elfload.c. Simplistic, but will do for now. */ |
---|
15 | extern struct syminfo { |
---|
16 | unsigned int disas_num_syms; |
---|
17 | void *disas_symtab; |
---|
18 | const char *disas_strtab; |
---|
19 | struct syminfo *next; |
---|
20 | } *syminfos; |
---|
21 | #endif /* !CONFIG_DM */ |
---|
22 | |
---|
23 | #endif /* _QEMU_DISAS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.