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/10/17 14:29:54 UTC

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #2015: tools/nuttx-gdbinit: Add xtensa/LX6's call stack

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


   ## Summary
   Add Xtensa's call stack to the nuttx-gdbinit script.
   ## Impact
   Able to use the commands introduced by the script with ESP32.
   ## Testing
   GDB
   


----------------------------------------------------------------
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] masayuki2009 commented on pull request #2015: tools/nuttx-gdbinit: Add xtensa/LX6's call stack

Posted by GitBox <gi...@apache.org>.
masayuki2009 commented on pull request #2015:
URL: https://github.com/apache/incubator-nuttx/pull/2015#issuecomment-711025650


   Hi @Ouss4,
   
   Does this commit work with esp32?
   As far as I tried the same approach before, the context switching mechanism for LX6 is different from others, becaut it uses register window.
   
   So perhaps if you change to a thread other than the current thread, gdb would show incorrect call stack.
   
   
   
   


----------------------------------------------------------------
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] Ouss4 commented on pull request #2015: tools/nuttx-gdbinit: Add xtensa/LX6's call stack

Posted by GitBox <gi...@apache.org>.
Ouss4 commented on pull request #2015:
URL: https://github.com/apache/incubator-nuttx/pull/2015#issuecomment-711034311


   @masayuki2009 info_nxthreads and nxthread_bt_all work and are handy.  But I'm seeing issues with nxthread.
   Yes I think the context isn't restored correctly due to the complexity of the Windowed ABI.
   Let me work on this a little more.  I'll make a draft and come back to it.


----------------------------------------------------------------
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] Ouss4 closed pull request #2015: tools/nuttx-gdbinit: Add xtensa/LX6's call stack

Posted by GitBox <gi...@apache.org>.
Ouss4 closed pull request #2015:
URL: https://github.com/apache/incubator-nuttx/pull/2015


   


----------------------------------------------------------------
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] Ouss4 closed pull request #2015: tools/nuttx-gdbinit: Add xtensa/LX6's call stack

Posted by GitBox <gi...@apache.org>.
Ouss4 closed pull request #2015:
URL: https://github.com/apache/incubator-nuttx/pull/2015


   


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