Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "optimized out" in spite of DWARF saying otherwise?
@ 2013-03-21 16:39 Michael Haupt
  2013-03-21 16:48 ` Jan Kratochvil
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Haupt @ 2013-03-21 16:39 UTC (permalink / raw)
  To: gdb

Hi,

so I have this formal argument to a method, and my DWARF says

0x...e642 - 0x...e642: rdi

(note start and end are the same). gdb, however, insists on the value being "<optimized out>", with the current address being 0x...e642. How is this?

Best,

Michael

-- 
Dr. Michael Haupt
Principal Member of Technical Staff
Phone: +49 331 200 7277, Fax: +49 331 200 7561
Oracle Labs
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14, 14467 Potsdam, Germany
From gdb-return-41940-listarch-gdb=sources.redhat.com@sourceware.org Thu Mar 21 16:45:11 2013
Return-Path: <gdb-return-41940-listarch-gdb=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb@sources.redhat.com
Received: (qmail 23649 invoked by alias); 21 Mar 2013 16:45:10 -0000
Mailing-List: contact gdb-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb.sourceware.org>
List-Subscribe: <mailto:gdb-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb/>
List-Post: <mailto:gdb@sourceware.org>
List-Help: <mailto:gdb-help@sourceware.org>, <http://sourceware.org/ml/#faqs>
Sender: gdb-owner@sourceware.org
Delivered-To: mailing list gdb@sourceware.org
Received: (qmail 23632 invoked by uid 89); 21 Mar 2013 16:45:04 -0000
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
Received: from mout1.freenet.de (HELO mout1.freenet.de) (195.4.92.91)    by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 21 Mar 2013 16:45:01 +0000
Received: from [195.4.92.140] (helo=mjail0.freenet.de)	by mout1.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.80.1 #2)	id 1UIibo-0000TI-Tr; Thu, 21 Mar 2013 17:44:56 +0100
Received: from localhost ([::1]:57482 helo=mjail0.freenet.de)	by mjail0.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #2)	id 1UIibo-0006pB-Dr; Thu, 21 Mar 2013 17:44:56 +0100
Received: from [195.4.92.23] (portE795 helo\x13.mx.freenet.de)	by mjail0.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #2)	id 1UIiZ1-0006fF-Ek; Thu, 21 Mar 2013 17:42:03 +0100
Received: from hsi-kbw-109-193-026-150.hsi7.kabel-badenwuerttemberg.de ([109.193.26.150]:43583 helo=[192.168.1.104])	by 13.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (port 587) (Exim 4.80.1 #2)	id 1UIiZ0-0003C0-TR; Thu, 21 Mar 2013 17:42:03 +0100
Message-ID: <514B3857.2010200@rtems.org>
Date: Thu, 21 Mar 2013 16:45:00 -0000
From: Ralf Corsepius <ralf.corsepius@rtems.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: Joel Sherrill <joel.sherrill@oarcorp.com>
CC: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: sim/mips/config.in
References: <514B28B2.9050603@oarcorp.com>
In-Reply-To: <514B28B2.9050603@oarcorp.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-SW-Source: 2013-03/txt/msg00064.txt.bz2
Content-length: 334

On 03/21/2013 04:35 PM, Joel Sherrill wrote:
> Hi
>
> I have tripped across an inconsistency while reviewing my patch.
> In sim/mips, configure.ac says it needs autoconf 2.64 but autoheader
> does not generate the same config.in that is in CVS.
>
> Any comments?

The config.in in CVS is outdated. It needs to be regenerated.

Ralf



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-22  7:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21 16:39 "optimized out" in spite of DWARF saying otherwise? Michael Haupt
2013-03-21 16:48 ` Jan Kratochvil
2013-03-21 20:15   ` Michael Haupt
2013-03-22  7:37     ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox