qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v8 04/17] target/riscv: additional code information for sw ch


From: Richard Henderson
Subject: Re: [PATCH v8 04/17] target/riscv: additional code information for sw check
Date: Mon, 26 Aug 2024 09:59:55 +1000
User-agent: Mozilla Thunderbird

On 8/24/24 05:01, Deepak Gupta wrote:
diff --git a/target/riscv/cpu_helper.c b/target/riscv/cpu_helper.c
index 12484ca7d2..9f08a67a9e 100644
--- a/target/riscv/cpu_helper.c
+++ b/target/riscv/cpu_helper.c
@@ -1761,6 +1761,8 @@ void riscv_cpu_do_interrupt(CPUState *cs)
                  cs->watchpoint_hit = NULL;
              }
              break;
+        case RISCV_EXCP_SW_CHECK:
+            tval = env->sw_check_code;
          default:

Missing break.
This should have warned about fall through...



r~



reply via email to

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