make -s -j 4
FORCE_SIMULATOR=--bochs PINTOS_DEBUG=1 pintos-test do-nothing
pintos-test do-nothing
debugpintos
loadusersymbols tests/userprog/stack-align-0
dumplist &all_list thread allelem # pintos-debug: dumplist #0: <address> { <struct thread> }
info registers
backtrace
disassemble + stepi
btpagefault
Context switch: tss.c, intr-stubs.S
https://www.youtube.com/watch?v=6pZZpCWGXPM
https://inst.eecs.berkeley.edu/~cs162/sp22/static/proj/pintos-fun.pdf