From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27147 invoked by alias); 30 Mar 2016 14:35:34 -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 27135 invoked by uid 89); 30 Mar 2016 14:35:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f174.google.com Received: from mail-pf0-f174.google.com (HELO mail-pf0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 30 Mar 2016 14:35:23 +0000 Received: by mail-pf0-f174.google.com with SMTP id x3so44803877pfb.1 for ; Wed, 30 Mar 2016 07:35:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=S4KM8qQnG9w4qsIUessuh0EcBUQwceA/G6egNfBSahw=; b=eWtIfqTHlVVsaHHWun+Kp0U+WBqQgh7y32Lt9GsBEfOtzee0utWPtcCah0ZKumiDcG aEhoDZmoM0WaDKW6YaY18xubs+kOhz+f6LrttlFgsS4eJk57ayq7wMRNreVkWLuhtdEG Th0DE0nnczXI03kL1pSbf8Cua6jRMb8uQ2wuVmiC3mBIIrCX/eD/xbgeHLn4HEA9YCFb n4pEm9Ff8cn9jh9p6NbDgkiJ60GEt14C2A+fpU+pyEoa0qwe5hYUHuH2smC32x7hmiJX XaRxRallkd7j2nEjsGlqhCZP6rCHBjq2d5HLNAG9B4v+gda8TYVIaszheTFt44kWOl6n q+XQ== X-Gm-Message-State: AD7BkJL4lo5ULxheiWvV8gy50gXbUEBTt9YMATZq7/oyMVH0MdhLFg74nkmwp57biqnx8w== X-Received: by 10.98.1.197 with SMTP id 188mr13823339pfb.8.1459348521335; Wed, 30 Mar 2016 07:35:21 -0700 (PDT) Received: from E107787-LIN (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id se8sm6511314pac.44.2016.03.30.07.35.18 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 30 Mar 2016 07:35:20 -0700 (PDT) From: Yao Qi To: Don Breazeal Cc: Yao Qi , "Breazeal\, Don" , "Gustavo\, Luis" , "gdb-patches\@sourceware.org" Subject: Re: [PATCH] Eliminate -var-create error for optzd ptr to struct References: <1456273154-28629-1-git-send-email-donb@codesourcery.com> <56CD03F5.6080505@codesourcery.com> <56CDDAEE.1030504@codesourcery.com> <86r3etsdbh.fsf@gmail.com> <56FAB7CB.20406@codesourcery.com> Date: Wed, 30 Mar 2016 14:35:00 -0000 In-Reply-To: <56FAB7CB.20406@codesourcery.com> (Don Breazeal's message of "Tue, 29 Mar 2016 10:13:47 -0700") Message-ID: <86a8lgrq3f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00563.txt.bz2 Don Breazeal writes: > Tested on bare-metal powerpc board with Linux x86 host. > Please run regression test on x86-linux. If the test is regression free, the patch is good to me. > gdb/ChangeLog: > 2016-03-29 Don Breazeal > > * gdb/value.c (value_actual_type): Ignore the 'print object > on' setting if the object is a pointer to or reference to > a structure. We should mention the object is optimized out. --=20 Yao (=E9=BD=90=E5=B0=A7)