aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index cfb9c49755..ae1ce8792f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -220,14 +220,19 @@ static void do_info_block(void)
static void do_info_registers(void)
{
#ifdef TARGET_I386
- cpu_dump_state(cpu_single_env, stdout, monitor_fprintf,
+ cpu_dump_state(cpu_single_env, NULL, monitor_fprintf,
X86_DUMP_FPU | X86_DUMP_CCOP);
#else
- cpu_dump_state(cpu_single_env, stdout, monitor_fprintf,
+ cpu_dump_state(cpu_single_env, NULL, monitor_fprintf,
0);
#endif
}
+static void do_info_jit(void)
+{
+ dump_exec_info(NULL, monitor_fprintf);
+}
+
static void do_info_history (void)
{
int i;
@@ -893,6 +898,8 @@ static term_cmd_t info_cmds[] = {
{ "mem", "", mem_info,
"", "show the active virtual memory mappings", },
#endif
+ { "jit", "", do_info_jit,
+ "", "show dynamic compiler info", },
{ NULL, NULL, },
};