XuNeo commented on issue #18109:
URL: https://github.com/apache/nuttx/issues/18109#issuecomment-3797947977

   Hi,
   
   I tested locally with master branch of both nuttx and apps, and cannot 
reproduce the issue.
   
   Test procedure follows latest modification to tools/jlink-nuttx.c in #11207.
   
   Test environment information:
   stm32f429i-disco with st-link reprogrammed to JLink.
   gdb-multiarch of version 16.2 and 12.1 are both tested.
   ```
   cmake -Bbuild -GNinja -DBOARD_CONFIG=stm32f429i-disco:systemview nuttx
   ninja -C build
   cd nuttx/tools
   make -f Makefile.host
   JLinkGDBServer -device stm32f429zi -if SWD -noir -speed 20000K -rtos 
`pwd`/jlink-nuttx
   ```
   GDB info:
   ```
   gdb-multiarch build/nuttx -ex "tar rem:2331" -ex "info threads" -q
   Reading symbols from build/nuttx...
   Remote debugging using :2331
   0x0800648e in nx_start () at 
/home/neo/projects/nuttx/nuttx/sched/init/nx_start.c:761
   761        up_idle();
   [New Thread 1]
   [New Thread 2]
     Id   Target Id                                   Frame
   * 1    Thread 57005 (�)                            0x0800648e in nx_start () 
at /home/neo/projects/nuttx/nuttx/sched/init/nx_start.c:761
     2    Thread 1 ([PID:000]Idle_Task:0003[PRI:000]) 0x0800648e in nx_start () 
at /home/neo/projects/nuttx/nuttx/sched/init/nx_start.c:761
     3    Thread 2 ([PID:001]nsh_main:0005[PRI:100])  nxsem_wait_slow 
(sem=0x20000020 <g_usart1priv+32>) at 
/home/neo/projects/nuttx/nuttx/sched/semaphore/sem_wait.c:259
   (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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to