From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22978 invoked by alias); 9 Nov 2012 09:47:07 -0000 Received: (qmail 22965 invoked by uid 22791); 9 Nov 2012 09:47:06 -0000 X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_DYNAMIC2,NML_ADSP_CUSTOM_MED,RDNS_DYNAMIC,SPF_NEUTRAL,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 216-139-250-139.aus.us.siteprotect.com (HELO joe.nabble.com) (216.139.250.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Nov 2012 09:47:01 +0000 Received: from tom.nabble.com ([192.168.236.105]) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TWlAy-00074R-J4 for gdb@sourceware.org; Fri, 09 Nov 2012 01:47:00 -0800 Date: Fri, 09 Nov 2012 09:47:00 -0000 From: santoshp To: gdb@sourceware.org Message-ID: <1352454420562-212534.post@n7.nabble.com> Subject: Strange address in the stack trace MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2012-11/txt/msg00006.txt.bz2 Hi All,While debugging a crash dump using GDB (7.2) on RHEL-5, one address looks strange to me. i.e. valueChanges variable. The same variable getting passed to frames but shows different addresses in different frames. #1 0x00002aaaab8a163a in MR_AnyVal (this=0x2aaab9000020, *o=@0x52*) at repos/mr/anyvali.c:36#2 0x00002aaaabb0fa13 in MR_MonitoringSystem::valueChanges2monValueChanges (*valueChanges=@0x465a5700*) at repos/mr/MR_MonitoredValue.h:61#3 0x00002aaaabb1065b in MR_MonitoringSystem::processChangesStandard (*valueChanges=@0x465a5700*) at repos/mr/MR_MonitoringSystem.c:280#4 0x00002aaaabbb026c in MR_Accessor::notify (this=, *valueChanges=@0x52*) at repos/accessors/MR_Accessor.c:1573Can somebody please comment on this whether this is from OS (because it's optimized build) or the behavior from GDB?Thanks,Santosh -- View this message in context: http://sourceware-org.1504.n7.nabble.com/Strange-address-in-the-stack-trace-tp212534.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.