XuNeo opened a new pull request, #14843:
URL: https://github.com/apache/nuttx/pull/14843

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   This PR is one of the series to upgrade GDB Plugin to a more powerful and 
robust tool.
   
   This PR mainly fixes thread related command issues.
   1. Fix online debugging running tasks, need to restore the registers 
correctly.
   2. Add index, tid, pid information to `info threads` command
   3. Fix `up` command to select correct frame before setting registers.
   4. Use colourful output
   
   For sake of avoiding merge conflicts, I also included a few new tools here. 
Use `help user-defined` to show all the commands. and `help 'command'` to show 
help message.
   
   1. `listforentry` is used to iterate list elements.
   2. `ps`
   3. `memdump` enhancement
   
   The code is formatted in the last commit since the CI code format check is 
only get fixed recently.
   
   ## Impact
   
   Mainly bug fixes and new commands.
   
   The C code is changing fast, some features may get outdate very quickly. 
There's following update to these commands in coming days.
   
   ## Testing
   
   The commands are manually tested with `sim:nsh`, basic `info threads` and 
`thread` commands are working.
   
   Some commands like `memdump` lacks error handling when configuration is not 
suitable, when CONFIG_MM_BACKTRACE is not enabled for example. These issues are 
going to be fixed in comming PRs.
   
   


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

Reply via email to