top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Source Files in GDB

0 votes
234 views

If you are trying to debug a core dump from a different machine, how do you tell gdb where to look for the debug info files to match the shared libs that you have in a non-standard location?

It finds the shared libs themselves with a 'set solib-absolute-path' directive, but it doesn't look for the corresponding (relative) usr/lib/debug/... file that you get if you extract the debuginfo rpm in the same place. And if I set debug-file-directory to the top of the tree, it wants to also add the solib-absolute-path to that.

Now can someone please suggest me if there some way to make it realize that the top of the tree is the same for both?

posted Jul 1, 2014 by Vijay Shukla

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

There is a huge list shown by command "info signals" with the GDB.
Can someone please explain about these information in details ?
How can an user interpret these information ?

...