]> Git Repo - qemu.git/commitdiff
target-arm: Log the target EL when taking exceptions
authorEdgar E. Iglesias <[email protected]>
Tue, 8 Sep 2015 16:38:44 +0000 (17:38 +0100)
committerPeter Maydell <[email protected]>
Tue, 8 Sep 2015 16:38:44 +0000 (17:38 +0100)
Log the target EL when taking exceptions. This is useful when
debugging guest SW or QEMU itself while transitioning through
the various ELs.

Signed-off-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-id: 1441311266[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
target-arm/helper-a64.c

index 02fc9b4a298fb1b5a434056e7ba73a04debb1c0b..2c7a645f669e77368aab8e2d893d39b51477e9db 100644 (file)
@@ -478,7 +478,8 @@ void aarch64_cpu_do_interrupt(CPUState *cs)
     }
 
     arm_log_exception(cs->exception_index);
-    qemu_log_mask(CPU_LOG_INT, "...from EL%d\n", arm_current_el(env));
+    qemu_log_mask(CPU_LOG_INT, "...from EL%d to EL%d\n", arm_current_el(env),
+                  new_el);
     if (qemu_loglevel_mask(CPU_LOG_INT)
         && !excp_is_internal(cs->exception_index)) {
         qemu_log_mask(CPU_LOG_INT, "...with ESR 0x%" PRIx32 "\n",
This page took 0.023234 seconds and 4 git commands to generate.