huojianchaoyy commented on PR #22093: URL: https://github.com/apache/nuttx/pull/22093#issuecomment-7119808939
@jerpelea thanks for the review. I'd prefer to keep this as one PR: - It is one code path: what `_assert()` does after a failed assertion, in sched/misc/assert.c (with sched/misc/coredump.c and libs/libc/assert). "coredump order", "stack dump" and "panic fixes" in the title are steps of that flow, not separate features. I can retitle the PR to make that clearer. - The changes interact. The problem @casaroli found sits between two of them: "assert: move the coredump after panic notify" moves the coredump after `PANIC_KERNEL_FINAL`, and "assert: flush dcache before panic other CPU" moves the flush before it, so the coredump was no longer flushed before the reset. That is easier to catch when both are reviewed together. - Each commit stands on its own: the series builds commit by commit, so every commit can still be reviewed, bisected or reverted separately. The description lists them one by one. If a particular commit doesn't belong here, I'm happy to move that one out. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
