Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Closed Thread
  Search this Thread
Old 03-03-2007, 06:42 PM   #1
Registered: Apr 2006
Posts: 81

Rep: Reputation: 15
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?
Old 03-03-2007, 08:46 PM   #2
Registered: Apr 2006
Posts: 81

Original Poster
Rep: Reputation: 15
Sorry about the double post.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugger selectively not using symbols in library with symbols Millenniumman Programming 5 03-25-2007 10:44 AM
vi symbols mean? curos Linux - Software 3 01-03-2007 08:35 PM
Hiding global symbols in a shared/static library jineshkj Programming 16 08-30-2006 01:45 AM
Error: Unable to resolve GL/GLX symbols - please check your GL library installation. Dquest Linux - General 8 11-02-2005 06:31 AM
exported symbols??? raven Linux - Software 1 06-27-2002 07:10 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration