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, 21 Feb 2008 16:53:00 -0000 [thread overview]
Message-ID: <20080221134725.GA6642@caradoc.them.org> (raw)
In-Reply-To: <64077c280802210543r163ce60aje62c2d6fc4632554@mail.gmail.com>
On Thu, Feb 21, 2008 at 02:43:58PM +0100, luca regini wrote:
> I have a project that is organized like the Makefile that follows. I
> have an executable that links two shared objects. I separate debug
> symbols from shared libraries and executable files. I would like to
> debug the stripped executable using the stripped symbols. Sadly i am
> not able to view any debug information. I tryed to use both the
> symbol-file and add-symbol-file to read the stripped symbols.
> Any help is very appreciated.
If you use --only-keep-debug, also use objcopy --add-gnu-debuglink to
create the final executable. GDB needs that pointer from your program
to the debug file.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-02-21 13:47 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 [this message]
2008-02-28 16:13 ` luca regini
2008-02-28 16:53 ` Daniel Jacobowitz
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=20080221134725.GA6642@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