This commit is contained in:
Robert Morris 2019-09-20 06:02:47 -04:00
parent ba1c42849a
commit 57e40a0204
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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)