xiaoxiang781216 commented on code in PR #15815: URL: https://github.com/apache/nuttx/pull/15815#discussion_r1956516266
########## arch/risc-v/src/common/riscv_exception_common.S: ########## @@ -207,25 +207,46 @@ handle_irq: .cfi_offset x2, 8 /* Toolchain not support macro, is REG_X2 * 4 */ .cfi_offset ra, 0 /* Toolchain not support macro, is REG_EPC * 4 */ + REGLOAD ra, REG_EPC(sp) + REGLOAD s0, REG_X8(sp) Review Comment: I just said that this chnage can support the recusive irq dispatch, which is useful by self. The correct patch sequence is that: 1. Move the stack limit check to backtrace 2. Create stack frame gdb expected manually 3. Support irq_dispatch recusively -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org