nits
This commit is contained in:
parent
ba1c42849a
commit
57e40a0204
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue