LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Debugger selectively not using symbols in library with symbols (https://www.linuxquestions.org/questions/programming-9/debugger-selectively-not-using-symbols-in-library-with-symbols-534317/)

Millenniumman 03-03-2007 05:42 PM

Debugger selectively not using symbols in library with symbols
 
I am using DDD (and also kdbg) with GDB. My programming is segfaulting in a function. When I try to debug, I can get to the function that calls that function, but in the stack window the debugger shows the function that actually has the problem as being in a library without debug symbols. It will not show the code for it. The rest of my functions in the stack show up fine, including functions in the same library that won't show up for the problem function.

One thing to note is that there is a small change the library could be dynamically loaded at that point, rather than just dynamically linked. But I would think dl_open()ed libraries would work properly in the debugger.

Another thing is the problem function is in a C++ file, and the one calling it is in a C file.

Is there any likely cause of this?

Millenniumman 03-03-2007 07:46 PM

Sorry about the double post.


All times are GMT -5. The time now is 11:27 AM.