LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
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 !
 
  


Reply


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


All times are GMT -5. The time now is 03:04 AM.

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