aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 01:11:41 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-31 01:11:41 -0400
commitb46621118d69b200efc806b495ef96bbfc595bca (patch)
tree3db048d983093430c3e507065f140b623ccff57e /sim
parent9709fa5bcbdb2f5b95d8624847e8bc0fa958c911 (diff)
downloadgdb-b46621118d69b200efc806b495ef96bbfc595bca.zip
gdb-b46621118d69b200efc806b495ef96bbfc595bca.tar.gz
gdb-b46621118d69b200efc806b495ef96bbfc595bca.tar.bz2
sim: m32c: tighten up opc2c build output
Drop the single debugging line that repeats the command line option, and use the silent build helpers to tighten up output.
Diffstat (limited to 'sim')
-rw-r--r--sim/m32c/Makefile.in12
-rw-r--r--sim/m32c/opc2c.c1
2 files changed, 6 insertions, 7 deletions
diff --git a/sim/m32c/Makefile.in b/sim/m32c/Makefile.in
index 0c101a8..cfdadd0 100644
--- a/sim/m32c/Makefile.in
+++ b/sim/m32c/Makefile.in
@@ -49,18 +49,18 @@ arch = m32c
OPC2C = ASAN_OPTIONS=detect_leaks=0 ./opc2c
r8c.c : r8c.opc opc2c
- $(OPC2C) -l r8c.out $(srcdir)/r8c.opc > r8c.c.tmp
- mv r8c.c.tmp r8c.c
+ $(ECHO_GEN) $(OPC2C) -l r8c.out $(srcdir)/r8c.opc > r8c.c.tmp
+ $(SILENCE) mv r8c.c.tmp r8c.c
m32c.c : m32c.opc opc2c
- $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp
- mv m32c.c.tmp m32c.c
+ $(ECHO_GEN) $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp
+ $(SILENCE) mv m32c.c.tmp m32c.c
opc2c : opc2c.o
- $(LINK_FOR_BUILD) $^
+ $(ECHO_CCLD) $(LINK_FOR_BUILD) $^
encodings:
grep '/\* [01]' $(srcdir)/r8c.opc | sort
opc2c.o : opc2c.c
- $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c
diff --git a/sim/m32c/opc2c.c b/sim/m32c/opc2c.c
index 3d1713d..f67b134 100644
--- a/sim/m32c/opc2c.c
+++ b/sim/m32c/opc2c.c
@@ -513,7 +513,6 @@ main (int argc, char **argv)
if (argc > 2 && strcmp (argv[1], "-l") == 0)
{
sim_log = fopen (argv[2], "w");
- fprintf (stderr, "sim_log: %s\n", argv[2]);
argc -= 2;
argv += 2;
}