Mail Archives: djgpp/2002/07/08/18:15:04
I'm not sure if this post is more appropriate for the Emacs newsgroup
or this one...
I use DJGPP on Win98. I'm getting started with GDB using version
5.1.1. It seems to work fine when I run it under a DOS prompt.
However, I mostly use Emacs 21.2.1 as my development environment, and
GDB hangs. I run a shell command and get a DOS command line in Emacs.
I run a little dos batch script to set my path to start in the
djgpp\bin directory and to set the DJGPP environment variable to
djgpp.env.
I've always been able to compile C source code, so I know things are
set up alright for that, but now I want to use the debugger. If I
start a gdb session on a file compiled for debugging I get a (gdb)
prompt, but if I issue any command Emacs hangs. I can quit the
command and move to another window, but the file is never unlocked, so
I can't get to it from elsewhere. Eventually, I have to reboot.
Again, it works right from an ordinary DOS command window, just not
when I use the DOS prompt under Emacs. Any ideas?
Nelson
- Raw text -