09-18-2017 03:11 PM
Hi All,
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
On Target:
cd /bin
gdbserver host:
1534
myApp
On Host:
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:1534
Remote debugging using 192.168.X.X:1534
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0xb6fd7ac0 in ?? ()
(gdb)
Has anyone got this to work? Any pointers on how to get this to work??
09-18-2017 04:07 PM