gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Debugging shared object modules with GDB


From: Hezi Sasson
Subject: RE: Debugging shared object modules with GDB
Date: Thu, 3 Apr 2008 00:44:40 +0300

please remove me from the list


From: address@hidden on behalf of StevieB
Sent: Tue 4/1/2008 1:37 PM
To: address@hidden
Subject: Debugging shared object modules with GDB


I am relatively inexperienced with the intracacies of Linux Shared Objects,
but need to do the following;

I have a test system running on Linux with a shared module that I need to
debug. How can I create and debug a version of this module.

I am thinking about adding a main() to the module with an endless loop. Then
compile, and run it. I'll add a break on the function I need to debug, then
run it.

What I am not sure is how to 'unload' the existing module, so my debugged
version will be used.

Am I heading in the right direction, or is there a better way?

Many thanks in anticipation
--
View this message in context: http://www.nabble.com/Debugging-shared-object-modules-with-GDB-tp16418171p16418171.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.








************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************







************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]