From 05b104b09292dac40c85aab7ab7b2ea2265d407b Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 5 Dec 2014 02:45:36 +0100 Subject: playing with external debugging in qemu from gdb --- userspace/foolshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userspace/foolshell.c') diff --git a/userspace/foolshell.c b/userspace/foolshell.c index d44204c..3a87158 100644 --- a/userspace/foolshell.c +++ b/userspace/foolshell.c @@ -229,7 +229,7 @@ int process(char *buf) exit(1); } int status; - wait(&status); + if(strcmp(token[1],"branch"))wait(&status); } return 0; -- cgit v1.2.3