Skip to content

Cocoson23/MIT-6.S081

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocoson23/MIT S6.081

For personal practice

Ho to run

xv6-riscv -> xv6 based on riscv

  • Run the xv6 kernel
    make qemu
  • Quit
    click x after Ctrl+a

xv6-labs-2021 -> environment to get your grade

  • Test your code
    make grade

Ho to use gdb

  • Install gdb-multiarch
    sudo apt-get install gdb-multiarch
  • create .gdbinit
    edit "YOUR_PATH"
    echo "add-auto-load-safe-path YOUR_PATH/xv6-labs-2021/.gdbinit " >> ~/.gdbinit
  • make qemu-gdb
    make qemu-gdb
  • run gdb command in another new terminal
    gdb-multiarch

Document

Official Docs

Chinese Docs

About

MIT 6.S081 Practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages