aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/bfin-sim.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-08 20:48:20 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-08 20:48:20 +0000
commita8a0e37c8b008f41595c941c0329f1d60654853a (patch)
treee8b203b883b4b1052cf23cfa8fc975db61474f84 /sim/bfin/bfin-sim.c
parentcdc7b32f787c43a4059d8e976690a0a7b05ccfc4 (diff)
downloadgdb-a8a0e37c8b008f41595c941c0329f1d60654853a.zip
gdb-a8a0e37c8b008f41595c941c0329f1d60654853a.tar.gz
gdb-a8a0e37c8b008f41595c941c0329f1d60654853a.tar.bz2
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 <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/bfin-sim.c')
-rw-r--r--sim/bfin/bfin-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c
index a8c7794..8e76291 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)
{