This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride
- From: Joel Brobecker <brobecke at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 21 Dec 2015 02:56:08 -0000
- Subject: [binutils-gdb] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b4a7fcab76dc6162a4db4b93d878a212553b722a
commit b4a7fcab76dc6162a4db4b93d878a212553b722a
Author: Joel Brobecker <brobecker@adacore.com>
Date: Mon Dec 21 06:51:50 2015 +0400
Minor reformatting fix in gdbtypes.c::create_array_type_with_stride
gdb/ChangeLog:
* gdbtypes.c (create_array_type_with_stride): Fix indentation.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/gdbtypes.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
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 <brobecker@adacore.com>
+
+ * gdbtypes.c (create_array_type_with_stride): Fix indentation.
+
2015-12-19 Joel Brobecker <brobecker@adacore.com>
* 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;