LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to debug without having debug section in an executable ? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-debug-without-having-debug-section-in-an-executable-410808/)

unclesam 02-02-2006 06:23 AM

How to debug without having debug section in an executable ?
 
Hi

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 !


All times are GMT -5. The time now is 07:22 PM.