User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 456,602 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,515 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 856 | Replies: 1
Reply
Join Date: Oct 2006
Posts: 60
Reputation: asilter is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
asilter asilter is offline Offline
Junior Poster in Training

debugging shared object

  #1  
Sep 6th, 2007
i have a .so(shared object) file and i want to debug into it.

could you plz give a little gdb debugger code sample which is adding a shared object for debugging.

PS : My executable is Test.x and I know to start with
gdb Test.x


could u take me further?
thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2005
Posts: 154
Reputation: TkTkorrovi is on a distinguished road 
Rep Power: 4
Solved Threads: 11
TkTkorrovi's Avatar
TkTkorrovi TkTkorrovi is offline Offline
Junior Poster

Re: debugging shared object

  #2  
Sep 6th, 2007
Load shared library, and call a function in it. Don't use debugger, instead add debug statements to the code, it's much more efficient and faster that way.
Knowledge is regarded by the fool as ignorance, and the things that are profitable are to him hurtful. He liveth in death. -- Thoth the Atlantean
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C Forum

All times are GMT -4. The time now is 7:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC