(This is called SSH tunneling or SSH port forwarding so that we can access the gdb server running on the CS Lab machine via localhost: on your local machine) Note: Please leave the terminal window open at the background in the following steps. Open another terminal window, and use the following command to forward the port (recorded in step 2) on the remote server to your local machine. #Clion linux kernel how toPlease refer to this tutorial if you don't know how to do this.ĥ. Open CLion and sync the folder to your local machine. (What qemu-nox-gdb does is that it runs a gdb server at localhost:25784 so that gdb can later connect to this server to debug the code.)Ĥ. I always have 25784, but it might be different for you. Copy xv6 to your working directory on a CS Lab machine, build the source, and run xv6 in debug mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |