qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/7] target/xtensa: drop dump_state helper


From: Max Filippov
Subject: [Qemu-devel] [PATCH 6/7] target/xtensa: drop dump_state helper
Date: Sun, 13 Jan 2019 23:48:54 -0800

Drop unused helper dump_state from op_helper.c

Signed-off-by: Max Filippov <address@hidden>
---
 target/xtensa/helper.h    |  1 -
 target/xtensa/op_helper.c | 11 -----------
 2 files changed, 12 deletions(-)

diff --git a/target/xtensa/helper.h b/target/xtensa/helper.h
index 2ebba0b2c2bf..89eb97e26514 100644
--- a/target/xtensa/helper.h
+++ b/target/xtensa/helper.h
@@ -15,7 +15,6 @@ DEF_HELPER_2(movsp, void, env, i32)
 #ifndef CONFIG_USER_ONLY
 DEF_HELPER_1(simcall, void, env)
 #endif
-DEF_HELPER_1(dump_state, void, env)
 
 #ifndef CONFIG_USER_ONLY
 DEF_HELPER_3(waiti, void, env, i32, i32)
diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c
index d3e61e22fe82..b0ef828f9ae5 100644
--- a/target/xtensa/op_helper.c
+++ b/target/xtensa/op_helper.c
@@ -93,17 +93,6 @@ void xtensa_cpu_do_transaction_failed(CPUState *cs, hwaddr 
physaddr, vaddr addr,
                                   addr);
 }
 
-#endif
-
-void HELPER(dump_state)(CPUXtensaState *env)
-{
-    XtensaCPU *cpu = xtensa_env_get_cpu(env);
-
-    cpu_dump_state(CPU(cpu), stderr, fprintf, 0);
-}
-
-#ifndef CONFIG_USER_ONLY
-
 void HELPER(update_ccount)(CPUXtensaState *env)
 {
     uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]