diff options
author | Robert Morris <[email protected]> | 2019-09-20 06:02:47 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-09-20 06:02:47 -0400 |
commit | 57e40a020411924dc89fba9fdd22a048ff4513f0 (patch) | |
tree | dd8f3841a077d468cb84b5b8508ebc48f688d56f | |
parent | ba1c42849ac4b1b8f845213f553d629e631471d7 (diff) | |
download | xv6-labs-57e40a020411924dc89fba9fdd22a048ff4513f0.tar.gz xv6-labs-57e40a020411924dc89fba9fdd22a048ff4513f0.tar.bz2 xv6-labs-57e40a020411924dc89fba9fdd22a048ff4513f0.zip |
nits
-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) |