1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

Makefile: start Qemu with GDB enabled by default

The serial terminal is now at port 1235 since it clashes with the port GDB
is trying to bind to. So GDB:1234 and Serial:1235
This commit is contained in:
daniel-k 2016-05-18 00:54:38 +02:00
parent 083433aa15
commit 54931ea238

View file

@ -20,10 +20,10 @@ qemu:
-kernel linux/arch/x86/boot/bzImage \
-append "root=/dev/ram0 rootfstype=ramfs init=init console=ttyS0" \
-net nic,model=rtl8139 -net user -net dump \
-nographic -monitor telnet:127.0.0.1:1234,server,nowait \
-fsdev local,security_model=passthrough,id=fsdev0,path=$(shell realpath hermit) \
-device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hermit
-nographic -monitor telnet:127.0.0.1:1235,server,nowait \
-fsdev local,security_model=none,id=fsdev0,path=$(shell realpath hermit) \
-device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hermit \
-s
clean:
make -C hermit clean