This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv/pushed] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride


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,
-- 
Joel

---
 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;
 
-- 
2.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]