From patchwork Mon Aug 19 18:46:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 34178 Received: (qmail 114595 invoked by alias); 19 Aug 2019 18:46:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 113631 invoked by uid 89); 19 Aug 2019 18:46:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Aug 2019 18:46:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3B6E2560B7; Mon, 19 Aug 2019 14:46:47 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RiYmAI4KsXCd; Mon, 19 Aug 2019 14:46:47 -0400 (EDT) Received: from murgatroyd.Home (97-122-178-82.hlrn.qwest.net [97.122.178.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id DC361560B4; Mon, 19 Aug 2019 14:46:46 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Fix indentation in value_has_field Date: Mon, 19 Aug 2019 12:46:44 -0600 Message-Id: <20190819184644.22175-1-tromey@adacore.com> MIME-Version: 1.0 value_has_field had a mis-indented line. This fixes it. gdb/ChangeLog 2019-08-19 Tom Tromey * python/py-value.c (value_has_field): Fix indentation. --- gdb/ChangeLog | 4 ++++ gdb/python/py-value.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 0ffd0b03d1d..ede4c0e759a 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -847,7 +847,7 @@ value_has_field (struct value *v, PyObject *field) val_type = value_type (v); val_type = check_typedef (val_type); if (TYPE_IS_REFERENCE (val_type) || TYPE_CODE (val_type) == TYPE_CODE_PTR) - val_type = check_typedef (TYPE_TARGET_TYPE (val_type)); + val_type = check_typedef (TYPE_TARGET_TYPE (val_type)); type_code = TYPE_CODE (val_type); if ((type_code == TYPE_CODE_STRUCT || type_code == TYPE_CODE_UNION)