[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] tcg/tci: Include missing 'disas/dis-asm.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 2/4] tcg/tci: Include missing 'disas/dis-asm.h' header |
Date: |
Wed, 18 Dec 2024 16:52:00 +0100 |
"disas/dis-asm.h" defines bfd_vma and disassemble_info,
include it in order to avoid (when refactoring other
headers):
tcg/tci.c:1066:20: error: unknown type name 'bfd_vma'
int print_insn_tci(bfd_vma addr, disassemble_info *info)
^
tcg/tci.c:1066:34: error: unknown type name 'disassemble_info'
int print_insn_tci(bfd_vma addr, disassemble_info *info)
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tcg/tci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tcg/tci.c b/tcg/tci.c
index 3afb2235285..3eb95e20b65 100644
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -21,6 +21,7 @@
#include "tcg/tcg.h"
#include "tcg/helper-info.h"
#include "tcg/tcg-ldst.h"
+#include "disas/dis-asm.h"
#include <ffi.h>
--
2.45.2
- [PATCH 0/4] include: Header cleanups around "cpu.h", Philippe Mathieu-Daudé, 2024/12/18
- [PATCH 1/4] target/ppc: Include missing headers in mmu-hash[32,64].h, Philippe Mathieu-Daudé, 2024/12/18
- [PATCH 3/4] exec/ram_addr: Include missing 'exec/hwaddr.h' and 'exec/cpu-common.h', Philippe Mathieu-Daudé, 2024/12/18
- [PATCH 2/4] tcg/tci: Include missing 'disas/dis-asm.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 4/4] exec/cpu-all: Include 'cpu.h' earlier so MMU_USER_IDX is always defined, Philippe Mathieu-Daudé, 2024/12/18
- Re: [PATCH 0/4] include: Header cleanups around "cpu.h", Richard Henderson, 2024/12/18