From: Mike Frysinger Date: Sun, 8 Apr 2012 20:48:20 +0000 (+0000) Subject: sim: bfin: drop excess space in negation insn X-Git-Tag: cygwin-1_7_14-release~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8a0e37c8b008f41595c941c0329f1d60654853a;p=thirdparty%2Fbinutils-gdb.git sim: bfin: drop excess space in negation insn The amod1 helper includes a leading space so it can expand into the empty string when need be, which means the caller need not add spacing itself. Signed-off-by: Mike Frysinger --- diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index f4422247f94..e11b9748e0f 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2012-04-08 Mike Frysinger + + * bfin-sim.c (decode_dsp32alu_0): Delete extra space in TRACE_INSN. + 2012-04-01 Mike Frysinger * bfin-sim.c (_interp_insn_bfin): Call illegal_instruction_combination diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c index a8c77940ef8..8e762914c7d 100644 --- a/sim/bfin/bfin-sim.c +++ b/sim/bfin/bfin-sim.c @@ -4965,7 +4965,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1) { bu32 val = DREG (src0); - TRACE_INSN (cpu, "R%i = - R%i %s;", dst0, src0, amod1 (s, 0)); + TRACE_INSN (cpu, "R%i = - R%i%s;", dst0, src0, amod1 (s, 0)); if (s && val == 0x80000000) {