aboutsummaryrefslogtreecommitdiff
path: root/disas/disas-internal.h
blob: 84a01f126f57b705ab404320272e78b3b35317b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Definitions used internally in the disassembly code
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef DISAS_INTERNAL_H
#define DISAS_INTERNAL_H

#include "disas/dis-asm.h"

typedef struct CPUDebug {
    struct disassemble_info info;
    CPUState *cpu;
} CPUDebug;

void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu);
int disas_gstring_printf(FILE *stream, const char *fmt, ...)
    G_GNUC_PRINTF(2, 3);

#endif