aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-config.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
commit028f6515424e832ee10a1e4cb1f96ea241e2acae (patch)
treec8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/sim-config.c
parent7f35e991971df570411a2688b948cd72adb4cf90 (diff)
downloadgdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip
gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz
gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/sim-config.c')
-rw-r--r--sim/common/sim-config.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c
index 7ee06ca..cb44d23 100644
--- a/sim/common/sim-config.c
+++ b/sim/common/sim-config.c
@@ -224,8 +224,8 @@ sim_config (SIM_DESC sd)
config_stdio_to_a (current_stdio));
return SIM_RC_FAIL;
}
-
-
+
+
/* check the value of MSB */
if (WITH_TARGET_WORD_MSB != 0
&& WITH_TARGET_WORD_MSB != (WITH_TARGET_WORD_BITSIZE - 1))
@@ -234,8 +234,8 @@ sim_config (SIM_DESC sd)
WITH_TARGET_WORD_BITSIZE, WITH_TARGET_WORD_MSB);
return SIM_RC_FAIL;
}
-
-
+
+
/* set the environment */
#if (WITH_TREE_PROPERTIES)
if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT)
@@ -256,8 +256,8 @@ sim_config (SIM_DESC sd)
#endif
if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT)
STATE_ENVIRONMENT (sd) = DEFAULT_ENVIRONMENT;
-
-
+
+
/* set the alignment */
#if (WITH_TREE_PROPERTIES)
if (current_alignment == 0)
@@ -270,7 +270,7 @@ sim_config (SIM_DESC sd)
current_alignment = WITH_ALIGNMENT;
if (current_alignment == 0)
current_alignment = WITH_DEFAULT_ALIGNMENT;
-
+
/* verify the alignment */
if (CURRENT_ALIGNMENT == 0)
{
@@ -284,13 +284,13 @@ sim_config (SIM_DESC sd)
config_alignment_to_a (current_alignment));
return SIM_RC_FAIL;
}
-
+
#if defined (WITH_FLOATING_POINT)
-
+
/* set the floating point */
if (current_floating_point == 0)
current_floating_point = WITH_FLOATING_POINT;
-
+
/* verify the floating point */
if (CURRENT_FLOATING_POINT == 0)
{
@@ -304,7 +304,7 @@ sim_config (SIM_DESC sd)
config_alignment_to_a (current_floating_point));
return SIM_RC_FAIL;
}
-
+
#endif
return SIM_RC_OK;
}
@@ -374,9 +374,9 @@ print_sim_config (SIM_DESC sd)
#if defined (WITH_RESERVED_BITS)
sim_io_printf (sd, "WITH_RESERVED_BITS = %d\n", WITH_RESERVED_BITS);
#endif
-
+
#if defined (WITH_PROFILE)
sim_io_printf (sd, "WITH_PROFILE = %d\n", WITH_PROFILE);
#endif
-
+
}