[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debugging shared object modules with GDB
From: |
StevieB |
Subject: |
Debugging shared object modules with GDB |
Date: |
Tue, 1 Apr 2008 04:37:20 -0700 (PDT) |
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.
- Debugging shared object modules with GDB,
StevieB <=