fjpanag commented on code in PR #7436:
URL: https://github.com/apache/incubator-nuttx/pull/7436#discussion_r1006625939


##########
arch/arm/src/armv7-m/arm_stackcheck.c:
##########
@@ -69,6 +69,12 @@ void __stack_overflow_trap(void)
 
   uint32_t regval;
 
+  regval = getreg32(NVIC_DHCSR);

Review Comment:
   @davids5 Sorry I did't understand. Were do you suggest to add the breakpoint?
   
   I don't see how this change will cause any overhead. The added code is 
within the trap, which is only called after a fault has occurred. So, during 
normal circumstances, it shouldn't affect in any way the function call 
mechanism.



-- 
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

Reply via email to