diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | kernel/syscall.c | 1 | 
2 files changed, 1 insertions, 2 deletions
| @@ -164,7 +164,7 @@ qemu: $K/kernel fs.img  	sed "s/:1234/:$(GDBPORT)/" < $^ > $@  qemu-gdb: $K/kernel .gdbinit fs.img -	@echo "*** Now run 'gdb'." 1>&2 +	@echo "*** Now run 'gdb' in another window." 1>&2  	$(QEMU) $(QEMUOPTS) -S $(QEMUGDB)  # CUT HERE diff --git a/kernel/syscall.c b/kernel/syscall.c index 97974d6..2817e44 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -20,7 +20,6 @@ fetchaddr(uint64 addr, uint64 *ip)  }  // Fetch the nul-terminated string at addr from the current process. -// Doesn't actually copy the string - just sets *pp to point at it.  // Returns length of string, not including nul, or -1 for error.  int  fetchstr(uint64 addr, char *buf, int max) | 
