Issue
I'm doing an OS class that's based on xv6 and I wrote a program that needs to 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.
Lets say I want to debug cat
, how would I go about doing that?
Thanks
P.S. isn't there an xv6 tag? should this question even go here?
Solution
file cat
, break main
, continue
semi reference running and debugging xv6
Answered By - shevski
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.