fdcavalcanti commented on code in PR #15815:
URL: https://github.com/apache/nuttx/pull/15815#discussion_r1950818774
##########
arch/risc-v/src/common/riscv_backtrace.c:
##########
@@ -150,17 +163,10 @@ int up_backtrace(struct tcb_s *tcb, void **buffer, int
size, int skip)
{
if (up_interrupt_context())
{
-#if CONFIG_ARCH_INTERRUPTSTACK > 15
- ret = backtrace((uintptr_t *)g_intstackalloc,
Review Comment:
This check has been moved inside `backtrace` function
--
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]