Mail Archives: djgpp/2002/07/09/02:45:38
On 8 Jul 2002 roadraat AT aol DOT com wrote:
> 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.
Is that the Windows port of Emacs or the DJGPP port? If the former, then
it won't work because the way Emacs redirects standard handles of the
subordinate program (GDB, in this case) to a pipe is incompatible with
how GDB handles input. So GDB still thinks it is invoked from a command
line and tries to read the keyboard directly.
If your Emacs is the DJGPP port, then it also won't work because
asynchronous subprocesses aren't supported :-(
- Raw text -