From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2431 invoked by alias); 13 Oct 2009 14:14:47 -0000 Received: (qmail 2337 invoked by uid 22791); 13 Oct 2009 14:14:46 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Oct 2009 14:14:43 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2902510EAC; Tue, 13 Oct 2009 14:16:33 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 0812410B95; Tue, 13 Oct 2009 14:16:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Mxi99-0005Yx-RI; Tue, 13 Oct 2009 10:14:39 -0400 Date: Tue, 13 Oct 2009 14:14:00 -0000 From: Daniel Jacobowitz To: Avi Gozlan Cc: "gdb@sourceware.org" Subject: Re: Core file shows stack correctly with GDB 5.3.9 but not with GDB 6.8 Message-ID: <20091013141439.GA21115@caradoc.them.org> Mail-Followup-To: Avi Gozlan , "gdb@sourceware.org" References: <9C4E85B61203CD419BB3A638E5F68333010FB207482F@il-ex01.ad.checkpoint.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C4E85B61203CD419BB3A638E5F68333010FB207482F@il-ex01.ad.checkpoint.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00238.txt.bz2 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