Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Debugger Error: "Unable to find dynamic linker breakpoint function": (3 Items)
   
Debugger Error: "Unable to find dynamic linker breakpoint function"  
Hello everybody,

The Momentics Debugger really is exasperating me... But perhaps I just don't understand it.

I mentioned the error message in the subject, but actually I have two questions:

1) When trying to debug, I get the following messages in the console:
   "warning: Unable to find dynamic linker breakpoint function.
    GDB will be unable to debug shared library initializers
    and track explicitly loaded dynamic code."

   What does 'unable to debug shared library initializers' mean exactly. Can I debug
   shared libraries anyway?

   I think I could do it before, which leads to my second question...

2) When trying to debug, I get the message "No source file named
   my_filename.cpp." And I am wondering why this happens. I could debug 
  before, but when I added new files to the project, these could not be found. 
  Thus, I considered creating a new project to be a good idea (Now I know, it 
  was not...).

  The project is build outside the Momentics IDE. I am only using the IDE for debugging, by using a C/C++ Stnadard Make 
Project, where I added the required files as 'links' to folders in the file system. 
I added the screenshots of my project structure and the source path settings to this post.
  
 I am able to set breakpoints within the files of the "src" folder, but not within the files of its subfolders. Do you 
have any ideas why this source file cannot be found?


I would be grateful for any suggestions how to get this working (again)!

Regards,
Michael 

  


Attachment: Image Project_Structure_Expanded.jpg 28.73 KB
Re: Debugger Error: "Unable to find dynamic linker breakpoint function"  
Here is the other screenshot...
Attachment: Image Project_Paths.jpg 74.41 KB
Re: Debugger Error: "Unable to find dynamic linker breakpoint function"  
Hello Michael,

What is the gdb version you are using? Could you download the latest gdb-6.7 (update 4) and try again?
http://community.qnx.com/sf/frs/do/listReleases/projects.toolchain/frs.gdb

For the 2) could you type
show dir
in your IDE debugger log view?
It should display all directories where gdb is searching for source files. Your subdirectories should be there to.

Thank you,
Aleksandar