Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-02-2006, 07:23 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
How to debug without having debug section in an executable ?


I am facing a problem as explained below :

1. My project is to convert PE (user created dynamic link libraries on windows) to ELF (shared object on linux ). When i convert a Dll providing some functionalities like some file operations . But when an application (executable not a shared object or library) converted from PE to ELF, having usage of symbols in it but defined in shared object which i have created and converted, is executed it doesnot find the symbol .

2. I also checked for the DT_NEEDED field of the application it includes my library but still i dont know whether library is loaded . After that i tried to debug in an indirect way because i dont have considered DEBUG section . I found that library is loaded but linker is unable to load section table from the library.

I think this is the problem but i want to know the solution .Please help!
If u think there is something wrong other than this please let me know !


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
Help me, how to debug this? lmmix Programming 1 03-03-2005 08:21 AM
how to use glibc-debug nboul Programming 0 12-14-2004 10:10 AM
Cant debug with kdevelop sibtay Programming 2 09-26-2004 11:29 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 03:13 AM
pine debug nautilus_1987 Linux - Software 1 11-02-2002 05:17 PM

All times are GMT -5. The time now is 05:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration