From 7a5764bda4c765bec54715773363690322861394 Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Wed, 17 Sep 2014 19:59:10 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"mcexec=20=E3=81=AE=E3=83=87=E3=83=90?= =?UTF-8?q?=E3=83=83=E3=82=B0=E5=87=BA=E5=8A=9B=E3=82=92=E6=94=B9=E5=96=84?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fb38917bf69e3d1928acc03a6ad2c2439ddf1f9c. --- executer/user/mcexec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c index b30e20fc..d8b21299 100644 --- a/executer/user/mcexec.c +++ b/executer/user/mcexec.c @@ -1167,7 +1167,6 @@ void do_syscall_return(int fd, int cpu, { struct syscall_ret_desc desc; - __dprintf("do_syscall_return(%d,%d,%ld(%#lx),%d,%#lx,%#lx,%ld(%#lx))\n", fd, cpu, ret, ret, n, src, dest, sz, sz); desc.cpu = cpu; desc.ret = ret; desc.src = src; @@ -1346,7 +1345,7 @@ int main_loop(int fd, int cpu, pthread_mutex_t *lock, int mcosid) /* Don't print when got a msg to stdout */ if (!(w.sr.number == __NR_write && w.sr.args[0] == 1)) - __dprintf("[%d] got syscall: %ld %#lx %#lx %#lx %#lx %#lx %#lx\n", cpu, w.sr.number, w.sr.args[0], w.sr.args[1], w.sr.args[2], w.sr.args[3], w.sr.args[4], w.sr.args[5]); + __dprintf("[%d] got syscall: %ld\n", cpu, w.sr.number); //pthread_mutex_lock(lock); @@ -1406,7 +1405,7 @@ int main_loop(int fd, int cpu, pthread_mutex_t *lock, int mcosid) fprintf(stderr, "Terminate by signal %d\n", sig); } else if(term) - __eprintf("Exit status: %d\n", term); + __dprintf("Exit status: %d\n", term); } }