0

Debugging in MS-DOS is one of the roadblocks that i have with MS-DOS programming, i'm using DJGPP and i have no complaints with it's gdb debugger, but the issues lies with the fact that once i turn on Mode 13h, it practically becomes unusable, and i cant even use printf() to debug, either. I did find this sort of cross debugger for DJGPP, and i tried it out but i can't for the life of me get it to work, whenever i try to use "lay next" it throws me this error :

gdbarch.c:1455: internal-error: gdbarch_addr_bit: Assertion `gdbarch != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 

breaking at main works for some reason, but trying to run throws this error :

Don't know how to run.  Try "help target".

and i did check if i had debug symbols on my executable ( i did ). But it just doesn't want to work and i'm not sure how i'm supposed to debug my DJGPP program.

Oh and uh, i'm using this cross-compiler, and i use Arch Linux, by the way.

Thanks!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.