I am making an OS class based on xv6 and I wrote a program that should run on it.
I know that I can debug kernel code with make qemu-gdb, but I'm not sure how to debug my own user program.
Say I want to debug cat, how would I do this?
thank
PS is there an xv6 tag? should this question even go here?
source
share