Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Avi Gozlan <avi@checkpoint.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Core file shows stack correctly with GDB 5.3.9 but not with  GDB 6.8
Date: Tue, 13 Oct 2009 14:14:00 -0000	[thread overview]
Message-ID: <20091013141439.GA21115@caradoc.them.org> (raw)
In-Reply-To: <9C4E85B61203CD419BB3A638E5F68333010FB207482F@il-ex01.ad.checkpoint.com>

On Tue, Oct 13, 2009 at 03:46:47PM +0200, Avi Gozlan wrote:
> Hello,
> 
> Usually, when we open core files using GDB 6.8 the stack shows correctly (while GDB 5.3.9 shows '?? ()' for several frames).
> 
> However, from time to time we encounter core files for which the opposite is correct. Namely, we can see the stack correctly with 5.3.9 but not with 6.8.

What platform?  Also, I'm not aware of any GDB release marked "5.3.9".
If there was one, it would be very obsolete; GDB 5.3 was released in
December 2002.

> This phenomenon happens on the same machine and executables are compiled using the same environment. We have no idea regarding the cause of this weird behavior. 
> 
> I would be thankful if you could shed some light on this issue.

There's not enough information to make any useful statement.  In
general, don't focus on things that work on an older release - instead
focus on things that don't work on the new release.  In other words
the question is "why can't GDB 6.8 handle this core file".

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2009-10-13 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13 13:47 Avi Gozlan
2009-10-13 14:14 ` Daniel Jacobowitz [this message]

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=20091013141439.GA21115@caradoc.them.org \
    --to=drow@false.org \
    --cc=avi@checkpoint.com \
    --cc=gdb@sourceware.org \
    /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