You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/20 12:58:24 UTC

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #2352: arch/xtensa: Print the bakctrace on assertions.

Ouss4 opened a new pull request #2352:
URL: https://github.com/apache/incubator-nuttx/pull/2352


   ## Summary
   This PR adds the ability to print a backtrace, to a configurable depth, on assertions.
   The backtrace is given as PC:SP pair, the PC values can be used with `addr2line` to get the name of the function and the line of code.
   
   Also the alignment of tasks's stack was incorrect, the ABI (Windowed and Call0) requires a 16-bytes alignment.  This PR fixes that.
   ## Impact
   Adds a backtrace dump when dumping the state on assertions.  This backtrace can be disabled.
   Only affect xtensa/ architecture.
   ## Testing
   esp32-core:nsh
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis merged pull request #2352: arch/xtensa: Print the bakctrace on assertions.

Posted by GitBox <gi...@apache.org>.
acassis merged pull request #2352:
URL: https://github.com/apache/incubator-nuttx/pull/2352


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org