This commit is contained in:
Anish Athalye
2018-09-12 14:55:07 -04:00
parent a56269d4be
commit 2d1187aa3c
9 changed files with 1056 additions and 16 deletions

View File

@@ -67,6 +67,7 @@ endif
GDBPORT := $(shell expr `id -u` % 5000 + 25000)
CC := $(GCCPREFIX)gcc -pipe
GDB := $(GCCPREFIX)gdb
AS := $(GCCPREFIX)as
AR := $(GCCPREFIX)ar
LD := $(GCCPREFIX)ld
@@ -148,7 +149,7 @@ QEMUOPTS += $(QEMUEXTRA)
sed "s/localhost:1234/localhost:$(GDBPORT)/" < $^ > $@
gdb:
gdb -n -x .gdbinit
$(GDB) -n -x .gdbinit
pre-qemu: .gdbinit