Issue
I'm using VMware Workstation 15 Pro on Windows 10. The guest OS is Linux 18.04.5 LTS. In guest Linux, I downloaded xv6 using command: git clone git://github.com/mit-pdos/xv6-public.git
. After building xv6 using make
, I run make qemu-nox-gdb
. However, the xv6 freezes inside qemu. No prompt printed out. No response to any key input. But if I remove gdb
, everything works well.
output image
PS: I have update and upgrade everything in Linux, including qemu, git, gdb, nasm, etc.
Solution
That QEMU commandline tells QEMU "don't run anything, instead, stop and wait for a connection from gdb". The makefile printed a message for you: "Now run 'gdb'". Have you run gdb and connected it to QEMU? (Probably there should be some tutorial or other info with xv6 that explains more about how to do this.)
Answered By - Peter Maydell
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.