From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15290 invoked by alias); 20 Sep 2012 13:28:59 -0000 Received: (qmail 15279 invoked by uid 22791); 20 Sep 2012 13:28:58 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Sep 2012 13:28:42 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8KDSfbJ014552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Sep 2012 09:28:42 -0400 Received: from host2.jankratochvil.net (ovpn-113-58.phx2.redhat.com [10.3.113.58]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q8KDSbpR020536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 20 Sep 2012 09:28:40 -0400 Date: Thu, 20 Sep 2012 13:28:00 -0000 From: Jan Kratochvil To: Andrew Burgess Cc: "gdb-patches@sourceware.org" , Tom Tromey Subject: Re: PATCH: error reading variable: value has been optimized out Message-ID: <20120920132837.GA32379@host2.jankratochvil.net> References: <50376F3B.1080407@broadcom.com> <20120826171840.GA21205@host2.jankratochvil.net> <504092C0.2000602@broadcom.com> <87wqzz5eug.fsf@fleche.redhat.com> <5051D2A7.2000009@broadcom.com> <87r4q4zav8.fsf@fleche.redhat.com> <5053A419.1090009@broadcom.com> <20120917165636.GA25759@host2.jankratochvil.net> <5059D69D.7010409@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5059D69D.7010409@broadcom.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00401.txt.bz2 On Wed, 19 Sep 2012 16:28:45 +0200, Andrew Burgess wrote: > Ok, new version of patch below, same as before except, > > - Uses xpass for the tests that are currently failing if they do ever produce the correct output, this will encourage whoever fixes them to go and remove the kfails. > - Uses kfail for the current broken output. There are no real bug IDs in place yet. Once I get approval to commit I'll open bug reports, and push a version of this patch with the actual bug IDs in place. I'm happy to open the bugs earlier if that's a requirement for me to get approval. > > Is this ok to commit? I am fine with this patch. Thanks, Jan > gdb/ChangeLog > > 2012-08-24 Andrew Burgess > > * findvar.c (read_frame_register_value): Mark the result value as > optimized out if any of the input registers have been optimized out. [...] > gdb/testsuite/ChangeLog > > 2012-09-19 Andrew Burgess > > * gdb.dwarf2/dw2-op-out-param.S: New file. > * gdb.dwarf2/dw2-op-out-param.exp: New file.