This is the mail archive of the
mailing list for the GDB project.
Re: Beginner question regarding gdb symbol files
On Thu, Feb 28, 2008 at 04:57:02PM +0100, luca regini wrote:
> I have another question regarding gdb and debugging.
> I would like to debug a plug-in written for a server application. This
> plugin is compiled as a shared library that includes symbols.
> The server application doesn't come with symbols neither source code.
> I have problems debugging my plugin code in these conditions.
> I tried to use the --add-gnu-debuglink option to link in the server's
> symbols but i am still unable to debug my module. Do i need both the
> server symbols and source files? Is it possibile to debug the pluging
> using only it's symbols and sources?
--add-gnu-debuglink is not related to this situation. GDB should
automatically load symbols for your plugin when the application loads
it. What doesn't work?