summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-11-07 13:19:18 +0100
committerRichard Henderson <richard.henderson@linaro.org>2017-11-09 08:46:38 +0100
commit15fa1a0ae0b7de61401131d3ecfcc4acbc31eaaa (patch)
treea7f15cae67d4aa203022af97c87b2982efae31d5 /include
parentb0fbe46ad82982b289a44ee2495b59b0bad8a842 (diff)
downloadqemu-15fa1a0ae0b7de61401131d3ecfcc4acbc31eaaa.zip
disas: Dump insn bytes along with capstone disassembly
This feature is present for some targets in the bfd disassembler(s). Implement it generically for all capstone users. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/disas/bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/disas/bfd.h b/include/disas/bfd.h
index 1f88c9e9d5..46c7ec3376 100644
--- a/include/disas/bfd.h
+++ b/include/disas/bfd.h
@@ -374,6 +374,8 @@ typedef struct disassemble_info {
/* Options for Capstone disassembly. */
int cap_arch;
int cap_mode;
+ int cap_insn_unit;
+ int cap_insn_split;
} disassemble_info;