Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: luca regini <luca.regini@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Beginner question regarding gdb symbol files
Date: Thu, 28 Feb 2008 16:53:00 -0000	[thread overview]
Message-ID: <20080228161244.GA31641@caradoc.them.org> (raw)
In-Reply-To: <64077c280802280757n76d94f5ckd839cca266437296@mail.gmail.com>

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?


-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-02-28 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21 13:47 luca regini
2008-02-21 16:53 ` Daniel Jacobowitz
2008-02-28 16:13   ` luca regini
2008-02-28 16:53     ` Daniel Jacobowitz [this message]
2008-02-28 17:00       ` luca regini
2008-02-28 17:13         ` Daniel Jacobowitz
2008-02-29  1:10           ` Michael Snyder
2008-02-29 13:40             ` luca regini
2008-02-29 18:19               ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080228161244.GA31641@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=luca.regini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox