Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15
Date: Fri, 18 Oct 2013 02:10:00 -0000	[thread overview]
Message-ID: <52609835.4000504@codesourcery.com> (raw)
In-Reply-To: <20131018015113.GA32262@sourceware.org>

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  <yao@codesourcery.com>

	* 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];


  reply	other threads:[~2013-10-18  2:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18  1:51 GDB Administrator
2013-10-18  2:10 ` Yao Qi [this message]
2013-10-18 10:15   ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52609835.4000504@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox