blob: 84a01f126f57b705ab404320272e78b3b35317b4 [file] [log] [blame]
Thomas Huthe22d3c42023-05-09 17:14:36 +01001/*
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
12typedef struct CPUDebug {
13 struct disassemble_info info;
14 CPUState *cpu;
15} CPUDebug;
16
17void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu);
18int disas_gstring_printf(FILE *stream, const char *fmt, ...)
19 G_GNUC_PRINTF(2, 3);
20
21#endif