From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19954 invoked by alias); 18 Oct 2013 02:10:16 -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 19941 invoked by uid 89); 18 Oct 2013 02:10:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Oct 2013 02:10:14 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VWzVy-0003Mr-SK from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Thu, 17 Oct 2013 19:10:10 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 17 Oct 2013 19:10:10 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Thu, 17 Oct 2013 19:10:10 -0700 Message-ID: <52609835.4000504@codesourcery.com> Date: Fri, 18 Oct 2013 02:10:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15 References: <20131018015113.GA32262@sourceware.org> In-Reply-To: <20131018015113.GA32262@sourceware.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00546.txt.bz2 On 10/18/2013 09:51 AM, GDB Administrator wrote: > 47a48 >> >gdb/c-varobj.c:534: code: OP eol: Do not use &&, or || at the end of a line > gdb/c-varobj.c:534: if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || > 854d854 > < gdb/varobj.c:3494: code: OP eol: Do not use &&, or || at the end of a line > gdb/varobj.c:3494: if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || Fixed by this patch. -- Yao (齐尧) gdb: 2013-10-18 Yao Qi * c-varobj.c (cplus_number_of_children): Fix indentation. Index: c-varobj.c =================================================================== RCS file: /cvs/src/src/gdb/c-varobj.c,v retrieving revision 1.1 diff -u -r1.1 c-varobj.c --- c-varobj.c 17 Oct 2013 13:28:36 -0000 1.1 +++ c-varobj.c 18 Oct 2013 02:04:10 -0000 @@ -531,8 +531,8 @@ } adjust_value_for_child_access (&value, &type, NULL, lookup_actual_type); - if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || - ((TYPE_CODE (type)) == TYPE_CODE_UNION)) + if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) + || ((TYPE_CODE (type)) == TYPE_CODE_UNION)) { int kids[3];