Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Berlin <dan@www.cgsoftware.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: Jacques-Olivier Goussard <jgoussard@nuance.com>,
	<gdb@sourceware.cygnus.com>
Subject: RE: Helping GDB to find symbols
Date: Tue, 01 May 2001 09:54:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.33.0105011251430.22243-100000@www.cgsoftware.com> (raw)
In-Reply-To: <Pine.SUN.3.91.1010501114517.29799A-100000@is>

On Tue, 1 May 2001, Eli Zaretskii wrote:

>
> On Mon, 30 Apr 2001, Jacques-Olivier Goussard wrote:
>
> > > Doesn't it work to say "gdb yourprog core", where `yourprog' is the
> > > unstripped binary and `core' is the core file you get from your
> > > customers?
> > No. I guess it gets mixed up in the addresses and offsets. The stacktrace
> > for example is quite different when I switched to the non-debug to
> > debug binaries (exec and dynamic libraries).
>
> Hmm?  I don't understand how is this possible: all the addresses in a
> stripped program should be exactly like in an unstripped one.
> Otherwise, you won't be able to debug the core dump which originated
> from an unstripped program.

Right. I'm with you here. This makes no sense.
>
> Am I missing something?
No,. You are exactly right. He should be able to just use the debug
version with the cor efile.


Unless, of course, his non-debug versions are compiled with different
optimization flags, than his debug versions.
That would do it, I think.
>
> What is your object file format and debug info format, btw?
>


  parent reply	other threads:[~2001-05-01  9:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-30  9:16 Jacques-Olivier Goussard
2001-04-30  9:24 ` Eli Zaretskii
2001-04-30  9:32   ` Jacques-Olivier Goussard
2001-05-01  1:44     ` Eli Zaretskii
2001-05-01  6:05       ` Jacques-Olivier Goussard
2001-05-01 11:23         ` Eli Zaretskii
2001-05-01 12:19         ` Daniel Berlin
2001-05-01  9:54       ` Daniel Berlin [this message]
2001-04-30  9:39 ` Andrew Cagney
2001-05-01  1:44   ` Eli Zaretskii
2001-05-01  9:41     ` Andrew Cagney
2001-05-01  6:20 Nicolas.Thery

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=Pine.LNX.4.33.0105011251430.22243-100000@www.cgsoftware.com \
    --to=dan@www.cgsoftware.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb@sourceware.cygnus.com \
    --cc=jgoussard@nuance.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