This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: config: do not try to align settings
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 11 Jan 2016 05:59:21 -0000
- Subject: [binutils-gdb] sim: config: do not try to align settings
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34ac507d94ea4af59f931b26e66e7721c967f55c
commit 34ac507d94ea4af59f931b26e66e7721c967f55c
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sun Jan 3 19:11:06 2016 -0500
sim: config: do not try to align settings
We try to align the output for a few settings, but not most of them.
Drop the aligning entirely to be lazy.
Diff:
---
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",