Reputation: 127478
I have the a program abc
. abc
uses the library def
and def
in turn includes a library ghi
.
Now, libghi.so
is compiled and linked using gcc -g
. libdef.so
is also compiled and linked using gcc -g
. However, abc
isn't linked with -g
.
The question is, if I debug abc
with gdb
should I be able to see the symbols in def
and ghi
?
The project is pretty big and compilation takes a few hours, which is why I'm asking before testing it myself.
Upvotes: 0
Views: 169
Reputation:
Yes, you will be able to, though it may be a bit difficult to use them without the debug info in the calling application.
Upvotes: 1