A
Andrea Crotti
I have two shared library, so in short I have
+------------------------+
+---------------------+ | MY LIBRARY |
| MAIN EXECUTABLE | /------+------------------------+
+---------------------+-----
----
\----- +------------------------+
\--+ OTHER LIBRARY |
+------------------------+
(Sorry for the crappy painting I was trying emacs artist-mode)
So the two libraries are loaded by one executable, and I can debug my
code setting breakpoints in my code, but the other library is a black
box.
It's also compiled with "-g" so I should find the symbols, but I can't
step in in any way...
My library is actually loaded from the other library with a "dlopen" if
it makes a difference...
I don't find any useful hint that explains the reason and how I could
avoid it...
Any idea?
+------------------------+
+---------------------+ | MY LIBRARY |
| MAIN EXECUTABLE | /------+------------------------+
+---------------------+-----
----
\----- +------------------------+
\--+ OTHER LIBRARY |
+------------------------+
(Sorry for the crappy painting I was trying emacs artist-mode)
So the two libraries are loaded by one executable, and I can debug my
code setting breakpoints in my code, but the other library is a black
box.
It's also compiled with "-g" so I should find the symbols, but I can't
step in in any way...
My library is actually loaded from the other library with a "dlopen" if
it makes a difference...
I don't find any useful hint that explains the reason and how I could
avoid it...
Any idea?