I am using petalinux on Microzed board which has a zynq SOC. I have a lot of apps and libs that we custom developed for our board. The apps use libs to perform tasks.
Example: components/apps/myApp uses components/apps/myLib
When I want to debug this on the target using gdb, I perform the following steps,
Please Note: Target is connected to host in a private network with IP 192.168.X.X. Host is running a Linux OS
petalinux-util --gdb myApp
target remote 192.168.X.X:1534
With this I can only debug myApp, I cannot debug myLib which is dynamically linked in myApp.
Warning in GDB I get is:
(gdb) target remote 192.168.X.X:1534Remote debugging using 192.168.X.X:1534warning: Unable to find dynamic linker breakpoint function.GDB will be unable to debug shared library initializersand track explicitly loaded dynamic code.0xb6fd7ac0 in ?? ()(gdb)
Has anyone got this to work? Any pointers on how to get this to work??