aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-16 02:23:02 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-16 03:16:59 -0400
commitba14f9419d59571057d9675673bbf8b6032aa5fe (patch)
tree1d25b9dbed5a89b565c7106d6c4f4b8ba3599b26 /sim/microblaze
parentfeb703b3f4d3cb21ab50905359df7123e131a7dc (diff)
downloadgdb-ba14f9419d59571057d9675673bbf8b6032aa5fe.zip
gdb-ba14f9419d59571057d9675673bbf8b6032aa5fe.tar.gz
gdb-ba14f9419d59571057d9675673bbf8b6032aa5fe.tar.bz2
sim: mcore/microblaze: strip trailing whitespace
No functional changes here.
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/interp.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index ced2b9a..c2c72a5 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,5 +1,9 @@
2015-03-16 Mike Frysinger <vapier@gentoo.org>
+ * interp.c: Strip trailing whitespace.
+
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
* confingure: Regenerate.
* interp.c: Include run-sim.h.
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index b986c15..ad6faaa 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -392,13 +392,13 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
memops = 0;
bonus_cycles = 0;
insts = 0;
-
+
do
{
/* Fetch the initial instructions that we'll decode. */
inst = rlat (PC & 0xFFFFFFFC);
- op = get_insn_microblaze (inst, &imm_unsigned, &insn_type,
+ op = get_insn_microblaze (inst, &imm_unsigned, &insn_type,
&num_delay_slot);
if (op == invalid_inst)
@@ -461,12 +461,12 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
bonus_cycles += 33;
if ((insn_type == branch_inst || insn_type == return_inst)
- && branch_taken)
+ && branch_taken)
{
/* Add an extra cycle for taken branches */
bonus_cycles++;
/* For branch instructions handle the instruction in the delay slot */
- if (delay_slot_enable)
+ if (delay_slot_enable)
{
newpc = PC;
PC = oldpc + INST_SIZE;
@@ -513,7 +513,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
/* Update cycle counts */
insts++;
if (insn_type == memory_store_inst
- || insn_type == memory_load_inst)
+ || insn_type == memory_load_inst)
memops++;
if (insn_type == mult_inst)
bonus_cycles++;