From patchwork Mon Dec 21 03:34:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 10087 Received: (qmail 94478 invoked by alias); 21 Dec 2015 03:35:05 -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 94462 invoked by uid 89); 21 Dec 2015 03:35:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=20151221, 2015-12-21, tabs 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 (AES256-SHA encrypted) ESMTPS; Mon, 21 Dec 2015 03:35:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6641D116542 for ; Sun, 20 Dec 2015 22:35:01 -0500 (EST) 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 10nDdc1FBCpo for ; Sun, 20 Dec 2015 22:35:01 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 030E111653C for ; Sun, 20 Dec 2015 22:35:01 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 0099246BAD; Mon, 21 Dec 2015 07:34:51 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [obv/pushed] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride Date: Mon, 21 Dec 2015 07:34:50 +0400 Message-Id: <1450668890-30554-1-git-send-email-brobecker@adacore.com> Hello, Just a small formatting fix on some code I was looking at. I think these errors are made easier to make because we are still using tabs (occasionally preventing consistent alignement when iside a diff). gdb/ChangeLog: * gdbtypes.c (create_array_type_with_stride): Fix indentation. Tested by rebuilding GDB, and pushed to master. Thanks, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3245e4..c708733 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-12-21 Joel Brobecker + + * gdbtypes.c (create_array_type_with_stride): Fix indentation. + 2015-12-19 Joel Brobecker * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index b9850cf..471b7c8 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -1081,8 +1081,8 @@ create_array_type_with_stride (struct type *result_type, TYPE_CODE (result_type) = TYPE_CODE_ARRAY; TYPE_TARGET_TYPE (result_type) = element_type; if (has_static_range (TYPE_RANGE_DATA (range_type)) - && (!type_not_associated (result_type) - && !type_not_allocated (result_type))) + && (!type_not_associated (result_type) + && !type_not_allocated (result_type))) { LONGEST low_bound, high_bound;