xref: /qemu/disas/disas-internal.h (revision 7c1f51bf)
1 /*
2  * Definitions used internally in the disassembly code
3  *
4  * SPDX-License-Identifier: GPL-2.0-or-later
5  */
6 
7 #ifndef DISAS_INTERNAL_H
8 #define DISAS_INTERNAL_H
9 
10 #include "disas/dis-asm.h"
11 
12 typedef struct CPUDebug {
13     struct disassemble_info info;
14     CPUState *cpu;
15 } CPUDebug;
16 
17 void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu);
18 int disas_gstring_printf(FILE *stream, const char *fmt, ...)
19     G_GNUC_PRINTF(2, 3);
20 
21 #endif
22