Statistics
| Branch: | Revision:

root / disas.h @ e80cfcfc

History | View | Annotate | Download (611 Bytes)

1
#ifndef _QEMU_DISAS_H
2
#define _QEMU_DISAS_H
3

    
4
/* Disassemble this for me please... (debugging). */
5
void disas(FILE *out, void *code, unsigned long size, int is_host, int flags);
6
void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags);
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. */
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

    
19
#endif /* _QEMU_DISAS_H */