summaryrefslogtreecommitdiffstats
path: root/include/disas
diff options
context:
space:
mode:
authorAlex Bennée2020-05-13 19:51:32 +0200
committerAlex Bennée2020-05-15 16:25:16 +0200
commite5ef4ec28b801155e20fdb3a4cd21920ffc5f1af (patch)
tree43293a021a65ce37609a8a099af3230de37ecc1e /include/disas
parentaccel/tcg: don't disable exec_tb trace events (diff)
downloadqemu-e5ef4ec28b801155e20fdb3a4cd21920ffc5f1af.tar.gz
qemu-e5ef4ec28b801155e20fdb3a4cd21920ffc5f1af.tar.xz
qemu-e5ef4ec28b801155e20fdb3a4cd21920ffc5f1af.zip
disas: include an optional note for the start of disassembly
This will become useful shortly for providing more information about output assembly inline. While there fix up the indenting and code formatting in disas(). Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200513175134.19619-9-alex.bennee@linaro.org>
Diffstat (limited to 'include/disas')
-rw-r--r--include/disas/disas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 36c33f6f19..1b6e035e32 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -7,7 +7,7 @@
#include "cpu.h"
/* Disassemble this for me please... (debugging). */
-void disas(FILE *out, void *code, unsigned long size);
+void disas(FILE *out, void *code, unsigned long size, const char *note);
void target_disas(FILE *out, CPUState *cpu, target_ulong code,
target_ulong size);