I run make qemu-gdb
to prepare xv6 for debugging and then in another terminal with opened in the same directory (in xv6 dir) I enter ```gdb`` and I get this output:
just for more info, seems like it connects to debugging process automatically and when I enter target remote TCP::26000
it wants to end this process.
now my actual problem is here when I enter something like b cat.c:12
it says that source file cat.c doesn't exist (which I'm sure is not true and happens for every file I enter instead of cat.c); although I can put breakpoint for some functions such as fork
or exec
.
I don't know where the problem is. could you help me to fix this?