summaryrefslogtreecommitdiffstats
path: root/tcg
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 /tcg
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 'tcg')
-rw-r--r--tcg/tcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index dd4b3d7684..a2268d9db0 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1092,7 +1092,7 @@ void tcg_prologue_init(TCGContext *s)
size_t data_size = prologue_size - code_size;
size_t i;
- log_disas(buf0, code_size);
+ log_disas(buf0, code_size, NULL);
for (i = 0; i < data_size; i += sizeof(tcg_target_ulong)) {
if (sizeof(tcg_target_ulong) == 8) {
@@ -1106,7 +1106,7 @@ void tcg_prologue_init(TCGContext *s)
}
}
} else {
- log_disas(buf0, prologue_size);
+ log_disas(buf0, prologue_size, NULL);
}
qemu_log("\n");
qemu_log_flush();