This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Beginner question regarding gdb symbol files


On Thu, 2008-02-28 at 11:59 -0500, Daniel Jacobowitz wrote:
> On Thu, Feb 28, 2008 at 05:52:42PM +0100, luca regini wrote:
> > >
> > >  --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?
> > >
> > 
> > The plug-in is loaded dynamically by the server application so it runs
> > in the server application address space. When i try to attach to the
> > server application gdb displays a message about a successeful load of
> > the symbols but then complains about missing source files, then i am
> > not able to set a breakpoint in the source of the plug-in.
> 
> Sorry, this is not enough information.  We need the exact output from
> GDB to help you.

Yes, please attach a log of your gdb session.
Thanks.

You say you're using attach?
What happens if you launch the server under gdb?
What happens if you attach to the server before it dlopens the plugin?
(I assume you're using dlopen...)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]