aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-09-19 15:06:37 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-09-19 15:06:37 +0000
commitf061ddf67da683bc0e218c95fb23dfe48d2db9ce (patch)
treef44d81fbbf414ec3229bda47afba70f0b38fde40 /sim/d10v
parent891513ee79ba7470f3eae78955b5b9c7c4631dda (diff)
downloadgdb-f061ddf67da683bc0e218c95fb23dfe48d2db9ce.zip
gdb-f061ddf67da683bc0e218c95fb23dfe48d2db9ce.tar.gz
gdb-f061ddf67da683bc0e218c95fb23dfe48d2db9ce.tar.bz2
Make sure there is a trailing space after the instruction
Diffstat (limited to 'sim/d10v')
-rw-r--r--sim/d10v/ChangeLog2
-rw-r--r--sim/d10v/simops.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index eb4c41a..60fe8fb 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -2,6 +2,8 @@ Thu Sep 19 10:30:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* 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 9bfd52d..da60b2c 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,