From f061ddf67da683bc0e218c95fb23dfe48d2db9ce Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 19 Sep 1996 15:06:37 +0000 Subject: [PATCH] Make sure there is a trailing space after the instruction --- sim/d10v/ChangeLog | 2 ++ sim/d10v/simops.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index eb4c41a0726..60fe8fb62e5 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -2,6 +2,8 @@ Thu Sep 19 10:30:22 1996 Michael Meissner * simops.c (SIZE_{PC,LINE_NUMBER}): New default sizes for output. (trace_input_func): Use them. + (trace_input_func): Make sure there is a trailing space after the + instruction. * Makefile.in (run): Add dependencies on libbfd.a and libiberity.a. diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index 9bfd52db832..da60b2c190c 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -111,7 +111,7 @@ trace_input_func (name, in1, in2, in3) if ((d10v_debug & DEBUG_LINE_NUMBER) == 0) (*d10v_callback->printf_filtered) (d10v_callback, - "0x%.*x %s: %-*s", + "0x%.*x %s: %-*s ", SIZE_PC, (unsigned)PC, type, SIZE_INSTRUCTION, name); @@ -171,7 +171,7 @@ trace_input_func (name, in1, in2, in3) } (*d10v_callback->printf_filtered) (d10v_callback, - "0x%.*x %s: %-*.*s %-*s", + "0x%.*x %s: %-*.*s %-*s ", SIZE_PC, (unsigned)PC, type, SIZE_LOCATION, SIZE_LOCATION, buf, -- 2.30.2