acassis commented on issue #9200:
URL: https://github.com/apache/nuttx/issues/9200#issuecomment-1537474041

   @xiaoxiang781216 I thought you had submitted some documentation about JLink 
NuttX awaress but I didn't find it. If you or @kistlin describe the step I can 
duplicate it here and write the documentation.
   
   I ran: `$ make -f Makefile.host jlink-nuttx` and it generated the .so 
library (@kistlin please try this command on Windows), I think I need to 
replace my /opt/SEGGER/JLink_V780c/GDBServer/RTOSPlugin_NuttX.so with this 
generated .so. Correct?
   
   I used readelf to dump infor from each .so, first from Segger:
   https://pastebin.com/raw/0my7sSSF
   
   And then from my generated jlink-nuttx.so:
   https://pastebin.com/raw/Hd3tbZN3
   
   They have many differences. For example our is missing SONAME:
   "Library soname: [RTOSPlugin_NuttX.so]"
   
   Guys, we do think we need to pass some the "-soname" when generating the 
libray and also use same RTOSPlugin_NuttX.so to make it clear that the user 
will need to replace it on JLink GDB Server?


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