masayuki2009 edited a comment on issue #2366:
URL: 
https://github.com/apache/incubator-nuttx/issues/2366#issuecomment-731718113


   > Still looks like it is not grabbing the stackframes correctly:
   
   Hmm, it's strange...
   ```
   $ arm-none-eabi-gdb-py --version
   GNU gdb (GNU Arm Embedded Toolchain 9-2020-q2-update) 8.3.1.20191211-git
   Copyright (C) 2019 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.
   ```
   
   I've just tried ```stm32f4discovery:rndis```
   
   ```
   (gdb) target extended-remote:3333                                            
                                                                                
                                                                  
   Remote debugging using :3333                                                 
                                                                                
                                                                  
   up_idle () at chip/stm32_idle.c:208                                          
                                                                                
                                                                  
   208       END_IDLE();                                                        
                                                                                
                                                                  
   (gdb) info_nxthreads                                                         
                                                                                
                                                                  
   target examined                                                              
                                                                                
                                                                  
   _target_arch.name=armv7e-m                                                   
                                                                                
                                                                  
   $_target_has_fpu : 0                                                         
                                                                                
                                                                  
   $_target_has_smp : 0                                                         
                                                                                
                                                                  
   saved current_tcb (pid=0)                                                    
                                                                                
                                                                  
   * 0 Thread 0x20000308  (Name: Idle Task, State: Running, Priority: 0) 
0x80051c6 in up_idle()                                                          
                                                                         
     1 Thread 0x20004a80  (Name: lpwork, State: Waiting,Signal, Priority: 100) 
0x8005778 in arm_switchcontext()                                                
                                                                   
     2 Thread 0x200056c0  (Name: init, State: Waiting,Semaphore, Priority: 100) 
0x8005778 in arm_switchcontext()                                                
                                                                  
     3 Thread 0x20007820  (Name: Telnet daemon, State: Waiting,Semaphore, 
Priority: 100) 0x8005778 in arm_switchcontext()    
   ```
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to