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]

[PATCH] sim: config: do not try to align settings [committed]


We try to align the output for a few settings, but not most of them.
Drop the aligning entirely to be lazy.
---
 sim/common/ChangeLog    |  5 +++++
 sim/common/sim-config.c | 10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 7b5c8f9..b2912fe 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-11  Mike Frysinger  <vapier@gentoo.org>
+
+	* sim-config.c (print_sim_config): Drop extra whitespace before =
+	in output for byte order, stdio, and msb settings.
+
 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
 
 	* acinclude.m4 (SIM_AC_COMMON): Call AC_MSG_CHECKING,
diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c
index 9da7105..7f6ac92 100644
--- a/sim/common/sim-config.c
+++ b/sim/common/sim-config.c
@@ -296,19 +296,19 @@ sim_config (SIM_DESC sd)
 void
 print_sim_config (SIM_DESC sd)
 {
-  sim_io_printf (sd, "WITH_TARGET_BYTE_ORDER   = %s\n",
+  sim_io_printf (sd, "WITH_TARGET_BYTE_ORDER = %s\n",
 		 config_byte_order_to_a (WITH_TARGET_BYTE_ORDER));
 
-  sim_io_printf (sd, "WITH_DEFAULT_TARGET_BYTE_ORDER   = %s\n",
+  sim_io_printf (sd, "WITH_DEFAULT_TARGET_BYTE_ORDER = %s\n",
 		 config_byte_order_to_a (WITH_DEFAULT_TARGET_BYTE_ORDER));
 
-  sim_io_printf (sd, "HOST_BYTE_ORDER          = %s\n",
+  sim_io_printf (sd, "HOST_BYTE_ORDER = %s\n",
 		 config_byte_order_to_a (HOST_BYTE_ORDER));
 
-  sim_io_printf (sd, "WITH_STDIO               = %s\n",
+  sim_io_printf (sd, "WITH_STDIO = %s\n",
 		 config_stdio_to_a (WITH_STDIO));
 
-  sim_io_printf (sd, "WITH_TARGET_WORD_MSB     = %d\n",
+  sim_io_printf (sd, "WITH_TARGET_WORD_MSB = %d\n",
 		 WITH_TARGET_WORD_MSB);
 
   sim_io_printf (sd, "WITH_TARGET_WORD_BITSIZE = %d\n",
-- 
2.6.2


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