From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15653 invoked by alias); 27 Nov 2013 17:52:50 -0000 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 Received: (qmail 15636 invoked by uid 89); 27 Nov 2013 17:52:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Nov 2013 17:52:48 +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 rARHqfX1019031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Nov 2013 12:52:41 -0500 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rARHqegp008883 for ; Wed, 27 Nov 2013 12:52:41 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH 0/2] "set debug frame 1" and not saved registers (was: Re: [PATCH 08/12] Replace some value_optimized_out with value_entirely_available) Date: Wed, 27 Nov 2013 17:52:00 -0000 Message-Id: <1385574760-26557-1-git-send-email-palves@redhat.com> In-Reply-To: <5208D50F.8020109@broadcom.com> References: <5208D50F.8020109@broadcom.com> X-SW-Source: 2013-11/txt/msg00852.txt.bz2 On 08/12/2013 01:29 PM, Andrew Burgess wrote: > @@ -1035,8 +1036,11 @@ frame_unwind_register_value (struct frame_info > *frame, int regnum) > if (frame_debug) > { > fprintf_unfiltered (gdb_stdlog, "->"); > - if (value_optimized_out (value)) > - fprintf_unfiltered (gdb_stdlog, " optimized out"); > + if (!value_entirely_available (value)) > + { > + fprintf_unfiltered (gdb_stdlog, " "); > + val_print_unavailability_reason (value, gdb_stdlog); > + } > else I'm splitting this output change into its separate patch, and then applying a follow up. Tested on x86_64 Fedora 17. Thanks. Andrew Burgess (1): Make "set debug frame 1" use the standard print routine for optimized out values. Pedro Alves (1): Make "set debug frame 1" output print instead of . gdb/frame-unwind.c | 8 +++++--- gdb/frame.c | 6 +++++- gdb/value.c | 5 ++++- 3 files changed, 14 insertions(+), 5 deletions(-) -- 1.7.11.7