Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Soller d07d1a2b05 Merge branch 'gdbserver' into 'master'
Add gdbserver + fix net=redir

See merge request redox-os/redox!1240
2020-06-19 12:01:19 +00:00
jD91mZM2 1e524c44f8
Add gdbserver + fix net=redir 2020-06-19 09:47:39 +02:00
3 changed files with 10 additions and 6 deletions

View File

@ -45,6 +45,7 @@ findutils = {}
#games = {}
#gawk = {}
#gcc = {}
gdbserver = {}
#gears = {}
#generaluser-gs = {}
#gettext = {}

@ -1 +1 @@
Subproject commit b51cb6b4e7252991b626ef780e2cdf488582ad86
Subproject commit e1cd72b7759b446228b76b25c3bea97d5ce0bf21

View File

@ -21,11 +21,14 @@ else
ifneq ($(bridge),)
QEMUFLAGS+=-netdev bridge,br=$(bridge),id=net0 -device e1000,netdev=net0,id=nic0
else
QEMUFLAGS+=-netdev user,id=net0 -device e1000,netdev=net0 \
-object filter-dump,id=f1,netdev=net0,file=build/network.pcap
endif
ifeq ($(net),redir)
QEMUFLAGS+=-redir tcp:8023::8023 -redir tcp:8080::8080
ifeq ($(net),redir)
# port 8080 and 8083 - webservers
# port 64126 - our gdbserver implementation
QEMUFLAGS+=-netdev user,id=net0,hostfwd=tcp::8080-:8080,hostfwd=tcp::8083-:8083,hostfwd=tcp::64126-:64126 -device e1000,netdev=net0,id=nic0
else
QEMUFLAGS+=-netdev user,id=net0 -device e1000,netdev=net0 \
-object filter-dump,id=f1,netdev=net0,file=build/network.pcap
endif
endif
endif
ifeq ($(vga),no)